Class: Aws::Redshift::Types::CreateSnapshotCopyGrantMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Redshift::Types::CreateSnapshotCopyGrantMessage
- Defined in:
- gems/aws-sdk-redshift/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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#kms_key_id ⇒ String
The unique identifier of the encrypted symmetric key 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 encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
3062 3063 3064 3065 3066 3067 3068 |
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 3062 class CreateSnapshotCopyGrantMessage < Struct.new( :snapshot_copy_grant_name, :kms_key_id, :tags) SENSITIVE = [] 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 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.
3062 3063 3064 3065 3066 3067 3068 |
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 3062 class CreateSnapshotCopyGrantMessage < Struct.new( :snapshot_copy_grant_name, :kms_key_id, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tag instances.
3062 3063 3064 3065 3066 3067 3068 |
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 3062 class CreateSnapshotCopyGrantMessage < Struct.new( :snapshot_copy_grant_name, :kms_key_id, :tags) SENSITIVE = [] include Aws::Structure end |