Interface CfnSnapshotCopyGrantProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSnapshotCopyGrantProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:59.724Z")
@Stability(Stable)
public interface CfnSnapshotCopyGrantProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.redshift.*;
CfnSnapshotCopyGrantProps cfnSnapshotCopyGrantProps = CfnSnapshotCopyGrantProps.builder()
.snapshotCopyGrantName("snapshotCopyGrantName")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSnapshotCopyGrantPropsstatic final classAn implementation forCfnSnapshotCopyGrantProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSnapshotCopyGrantName
The name of the snapshot copy grant.This name must be unique in the region for the AWS account.
- See Also:
-
getKmsKeyId
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.
- See Also:
-
getTags
A list of tag instances.- See Also:
-
builder
- Returns:
- a
CfnSnapshotCopyGrantProps.BuilderofCfnSnapshotCopyGrantProps
-