Class: Aws::Redshift::Types::CreateSnapshotCopyGrantMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Redshift::Types::CreateSnapshotCopyGrantMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-redshift/types.rb
Overview
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
-
#kms_key_id ⇒ String
The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission.
-
#snapshot_copy_grant_name ⇒ String
The name of the snapshot copy grant.
-
#tags ⇒ Array<Types::Tag>
A list of tag instances.
Instance Attribute Details
#kms_key_id ⇒ String
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.
1904 1905 1906 1907 1908 1909 |
# File 'lib/aws-sdk-redshift/types.rb', line 1904 class CreateSnapshotCopyGrantMessage < Struct.new( :snapshot_copy_grant_name, :kms_key_id, :tags) include Aws::Structure end |
#snapshot_copy_grant_name ⇒ String
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.
1904 1905 1906 1907 1908 1909 |
# File 'lib/aws-sdk-redshift/types.rb', line 1904 class CreateSnapshotCopyGrantMessage < Struct.new( :snapshot_copy_grant_name, :kms_key_id, :tags) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tag instances.
1904 1905 1906 1907 1908 1909 |
# File 'lib/aws-sdk-redshift/types.rb', line 1904 class CreateSnapshotCopyGrantMessage < Struct.new( :snapshot_copy_grant_name, :kms_key_id, :tags) include Aws::Structure end |