Interface ClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ClusterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-24T20:29:52.777Z")
@Stability(Experimental)
public interface ClusterProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a new Aurora DSQL cluster.
Example:
Cluster cluster = Cluster.Builder.create(this, "Cluster")
.clusterName("my-dsql-cluster")
.deletionProtection(true)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forClusterPropsstatic final classAn implementation forClusterProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterProps.Builderbuilder()default String(experimental) The name of the DSQL cluster.default Boolean(experimental) Specifies whether this cluster can be deleted.default RemovalPolicy(experimental) The removal policy to apply when the cluster is removed or replaced during a stack update, or when the stack is deleted.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterName
(experimental) The name of the DSQL cluster.This is applied via the
Nametag.Default: - No name specified.
-
getDeletionProtection
(experimental) Specifies whether this cluster can be deleted.If deletionProtection is enabled, the cluster cannot be deleted unless it is modified and deletionProtection is disabled. deletionProtection protects clusters from being accidentally deleted.
Default: - true if `removalPolicy` is RETAIN, undefined otherwise.
-
getRemovalPolicy
(experimental) The removal policy to apply when the cluster is removed or replaced during a stack update, or when the stack is deleted.Default: - Retain cluster.
-
builder
- Returns:
- a
ClusterProps.BuilderofClusterProps
-