Interface CfnClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:36.484Z")
@Stability(Stable)
public interface CfnClusterProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCluster.
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.dsql.*;
CfnClusterProps cfnClusterProps = CfnClusterProps.builder()
.deletionProtectionEnabled(false)
.kmsEncryptionKey("kmsEncryptionKey")
.multiRegionProperties(MultiRegionPropertiesProperty.builder()
.clusters(List.of("clusters"))
.witnessRegion("witnessRegion")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsstatic final classAn implementation forCfnClusterProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnClusterProps.Builderbuilder()default ObjectWhether deletion protection is enabled on this cluster.default StringThe KMS key that encrypts data on the cluster.default ObjectDefines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.getTags()A map of key and value pairs this cluster is tagged with.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeletionProtectionEnabled
Whether deletion protection is enabled on this cluster.Returns union: either
BooleanorIResolvable- See Also:
-
getKmsEncryptionKey
The KMS key that encrypts data on the cluster.- See Also:
-
getMultiRegionProperties
Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.Returns union: either
IResolvableorCfnCluster.MultiRegionPropertiesProperty- See Also:
-
getTags
A map of key and value pairs this cluster is tagged with.- See Also:
-
builder
- Returns:
- a
CfnClusterProps.BuilderofCfnClusterProps
-