{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-create-cluster-snapshot-message-schema.json",
  "title": "CreateClusterSnapshotMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-cluster-snapshot-api-openapi.yml#/components/schemas/CreateClusterSnapshotMessage",
  "type": "object",
  "properties": {
    "SnapshotIdentifier": {
      "type": "string",
      "description": "A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account. Constraints: Cannot be null, empty, or blank Must contain from 1 to 255 alphanumeric characters or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-snapshot-id"
    },
    "ClusterIdentifier": {
      "type": "string",
      "description": "The cluster identifier for which you want a snapshot."
    },
    "ManualSnapshotRetentionPeriod": {
      "type": "integer",
      "description": "The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. The value must be either -1 or an integer between 1 and 3,653. The default value is -1."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tag instances."
    }
  },
  "required": [
    "SnapshotIdentifier",
    "ClusterIdentifier"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key, or name, for the resource tag."
        },
        "Value": {
          "type": "string",
          "description": "The value for the resource tag."
        }
      }
    }
  }
}