interface CfnSnapshotCopyGrantProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Redshift.CfnSnapshotCopyGrantProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsredshift#CfnSnapshotCopyGrantProps |
Java | software.amazon.awscdk.services.redshift.CfnSnapshotCopyGrantProps |
Python | aws_cdk.aws_redshift.CfnSnapshotCopyGrantProps |
TypeScript | aws-cdk-lib » aws_redshift » CfnSnapshotCopyGrantProps |
Properties for defining a CfnSnapshotCopyGrant.
Example
// 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
| Name | Type | Description |
|---|---|---|
| snapshot | string | The name of the snapshot copy grant. |
| kms | string | The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. |
| tags? | Cfn[] | A list of tag instances. |
snapshotCopyGrantName
Type:
string
The name of the snapshot copy grant.
This name must be unique in the region for the AWS account.
kmsKeyId?
Type:
string
(optional)
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.
tags?
Type:
Cfn[]
(optional)
A list of tag instances.

.NET
Go
Java
Python
TypeScript