CfnSnapshotCopyGrantMixinProps
- class aws_cdk.cfn_property_mixins.aws_redshift.CfnSnapshotCopyGrantMixinProps(*, kms_key_id=None, snapshot_copy_grant_name=None, tags=None)
Bases:
objectProperties for CfnSnapshotCopyGrantPropsMixin.
- Parameters:
kms_key_id (
Optional[str]) – 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.snapshot_copy_grant_name (
Optional[str]) – The name of the snapshot copy grant. This name must be unique in the region for the AWS account.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of tag instances.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_redshift as redshift cfn_snapshot_copy_grant_mixin_props = redshift.CfnSnapshotCopyGrantMixinProps( kms_key_id="kmsKeyId", snapshot_copy_grant_name="snapshotCopyGrantName", tags=[CfnTag( key="key", value="value" )] )
Attributes
- kms_key_id
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.
- snapshot_copy_grant_name
The name of the snapshot copy grant.
This name must be unique in the region for the AWS account.