CfnSnapshotCopyGrantProps Struct
Properties for defining a CfnSnapshotCopyGrant.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshift as redshift } from 'aws-cdk-lib';
const cfnSnapshotCopyGrantProps: redshift.CfnSnapshotCopyGrantProps = {
snapshotCopyGrantName: 'snapshotCopyGrantName',
// the properties below are optional
kmsKeyId: 'kmsKeyId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*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. Marked writeOnly because Create accepts aliases/key-ids but Describe returns the resolved key ARN, which would fail drift detection.
snapshotCopyGrantNamestringsnapshot_copy_grant_namestrsnapshotCopyGrantNameStringSnapshotCopyGrantNamestringSnapshotCopyGrantName*stringrequired#The name of the snapshot copy grant.
This name must be unique in the region for the AWS account.