{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-create-snapshot-copy-grant-message-schema.json",
  "title": "CreateSnapshotCopyGrantMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-snapshot-copy-grant-api-openapi.yml#/components/schemas/CreateSnapshotCopyGrantMessage",
  "type": "object",
  "properties": {
    "SnapshotCopyGrantName": {
      "type": "string",
      "description": "The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web Services account. Constraints: Must contain from 1 to 63 alphanumeric characters or hyphens. Alphabetic characters must be lowercase. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Must be unique for all clusters within an Amazon Web Services account."
    },
    "KmsKeyId": {
      "type": "string",
      "description": "The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tag instances."
    }
  },
  "required": [
    "SnapshotCopyGrantName"
  ],
  "$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."
        }
      }
    }
  }
}