Class CfnSnapshotCopyGrantPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnSnapshotCopyGrantPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSnapshotCopyGrantPropsMixin>
- Enclosing class:
CfnSnapshotCopyGrantPropsMixin
@Stability(Stable)
public static final class CfnSnapshotCopyGrantPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSnapshotCopyGrantPropsMixin>
A fluent builder for
CfnSnapshotCopyGrantPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission.snapshotCopyGrantName(String snapshotCopyGrantName) The name of the snapshot copy grant.A list of tag instances.
-
Method Details
-
create
@Stability(Stable) public static CfnSnapshotCopyGrantPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSnapshotCopyGrantPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSnapshotCopyGrantPropsMixin.Builder.
-
kmsKeyId
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.
- Parameters:
kmsKeyId- The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. This parameter is required.- Returns:
this- See Also:
-
snapshotCopyGrantName
@Stability(Stable) public CfnSnapshotCopyGrantPropsMixin.Builder snapshotCopyGrantName(String snapshotCopyGrantName) The name of the snapshot copy grant.This name must be unique in the region for the AWS account.
- Parameters:
snapshotCopyGrantName- The name of the snapshot copy grant. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tag instances.- Parameters:
tags- A list of tag instances. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSnapshotCopyGrantPropsMixin>- Returns:
- a newly built instance of
CfnSnapshotCopyGrantPropsMixin.
-