Class: Aws::Redshift::Types::CreateSnapshotCopyGrantMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-redshift/types.rb

Overview

Note:

When making an API call, you may pass CreateSnapshotCopyGrantMessage data as a hash:

{
  snapshot_copy_grant_name: "String", # required
  kms_key_id: "String",
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

The result of the ‘CreateSnapshotCopyGrant` action.

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_idString

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
# File 'lib/aws-sdk-redshift/types.rb', line 2287

class CreateSnapshotCopyGrantMessage < Struct.new(
  :snapshot_copy_grant_name,
  :kms_key_id,
  :tags)
  include Aws::Structure
end

#snapshot_copy_grant_nameString

The name of the snapshot copy grant. This name must be unique in the region for the AWS 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 AWS account.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
# File 'lib/aws-sdk-redshift/types.rb', line 2287

class CreateSnapshotCopyGrantMessage < Struct.new(
  :snapshot_copy_grant_name,
  :kms_key_id,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tag instances.

Returns:



2287
2288
2289
2290
2291
2292
# File 'lib/aws-sdk-redshift/types.rb', line 2287

class CreateSnapshotCopyGrantMessage < Struct.new(
  :snapshot_copy_grant_name,
  :kms_key_id,
  :tags)
  include Aws::Structure
end