Interface CfnGlobalClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalClusterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-19T12:03:52.512Z")
@Stability(Stable)
public interface CfnGlobalClusterProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGlobalCluster.
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.docdb.*;
CfnGlobalClusterProps cfnGlobalClusterProps = CfnGlobalClusterProps.builder()
.globalClusterIdentifier("globalClusterIdentifier")
// the properties below are optional
.deletionProtection(false)
.engine("engine")
.engineVersion("engineVersion")
.sourceDbClusterIdentifier("sourceDbClusterIdentifier")
.storageEncrypted(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGlobalClusterPropsstatic final classAn implementation forCfnGlobalClusterProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectIndicates whether the global cluster has deletion protection enabled.default StringThe database engine to use for this global cluster.default StringThe engine version to use for this global cluster.The cluster identifier of the global cluster.default StringThe Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.default ObjectIndicates whether the global cluster has storage encryption enabled.getTags()The tags to be assigned to the Amazon DocumentDB resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGlobalClusterIdentifier
The cluster identifier of the global cluster.- See Also:
-
getDeletionProtection
Indicates whether the global cluster has deletion protection enabled.The global cluster can't be deleted when deletion protection is enabled.
Returns union: either
BooleanorIResolvable- See Also:
-
getEngine
The database engine to use for this global cluster.Default: - "docdb"
- See Also:
-
getEngineVersion
The engine version to use for this global cluster.- See Also:
-
getSourceDbClusterIdentifier
The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.You may also choose to instead specify the DBClusterIdentifier. If you provide a value for this parameter, don't specify values for the following settings because Amazon DocumentDB uses the values from the specified source DB cluster: Engine, EngineVersion, StorageEncrypted
- See Also:
-
getStorageEncrypted
Indicates whether the global cluster has storage encryption enabled.Returns union: either
BooleanorIResolvable- See Also:
-
getTags
The tags to be assigned to the Amazon DocumentDB resource.- See Also:
-
builder
- Returns:
- a
CfnGlobalClusterProps.BuilderofCfnGlobalClusterProps
-