You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateSnapshotCopyGrantMessage as input to an Aws::Client method, you can use a vanilla 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)

    The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission.

#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)

    The name of the snapshot copy grant.

#tagsArray<Types::Tag>

A list of tag instances.

Returns:

  • (Array<Types::Tag>)

    A list of tag instances.