Learn R Programming

paws.database (version 0.1.12)

redshift_create_snapshot_copy_grant: Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied snapshots in a destination region

Description

Creates a snapshot copy grant that permits Amazon Redshift to use a customer master key (CMK) from AWS Key Management Service (AWS KMS) to encrypt copied snapshots in a destination region.

For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.

Usage

redshift_create_snapshot_copy_grant(SnapshotCopyGrantName, KmsKeyId,
  Tags)

Value

A list with the following syntax:

list(
  SnapshotCopyGrant = list(
    SnapshotCopyGrantName = "string",
    KmsKeyId = "string",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Arguments

SnapshotCopyGrantName

[required] 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.

KmsKeyId

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.

Tags

A list of tag instances.

Request syntax

svc$create_snapshot_copy_grant(
  SnapshotCopyGrantName = "string",
  KmsKeyId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)