Class CfnGlobalCluster
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.docdb.CfnGlobalCluster
- All Implemented Interfaces:
IInspectable,IGlobalClusterRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-19T12:03:52.511Z")
@Stability(Stable)
public class CfnGlobalCluster
extends CfnResource
implements IInspectable, IGlobalClusterRef, ITaggableV2
The AWS::DocDB::GlobalCluster resource represents an Amazon DocumentDB Global Cluster.
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.*;
CfnGlobalCluster cfnGlobalCluster = CfnGlobalCluster.Builder.create(this, "MyCfnGlobalCluster")
.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 ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.docdb.IGlobalClusterRef
IGlobalClusterRef.Jsii$Default, IGlobalClusterRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnGlobalCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnGlobalCluster(software.amazon.jsii.JsiiObjectRef objRef) CfnGlobalCluster(software.constructs.Construct scope, String id, CfnGlobalClusterProps props) Create a newAWS::DocDB::GlobalCluster. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForGlobalCluster(IGlobalClusterRef resource) The Amazon Resource Name (ARN) for the global cluster.The AWS Region-unique, immutable identifier for the global database cluster.Tag Manager which manages the tags for this resource.Indicates whether the global cluster has deletion protection enabled.The database engine to use for this global cluster.The engine version to use for this global cluster.The cluster identifier of the global cluster.A reference to a GlobalCluster resource.The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.Indicates whether the global cluster has storage encryption enabled.getTags()The tags to be assigned to the Amazon DocumentDB resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnGlobalCluster.renderProperties(Map<String, Object> props) voidsetDeletionProtection(Boolean value) Indicates whether the global cluster has deletion protection enabled.voidsetDeletionProtection(IResolvable value) Indicates whether the global cluster has deletion protection enabled.voidThe database engine to use for this global cluster.voidsetEngineVersion(String value) The engine version to use for this global cluster.voidsetGlobalClusterIdentifier(String value) The cluster identifier of the global cluster.voidThe Amazon Resource Name (ARN) to use as the primary cluster of the global cluster.voidsetStorageEncrypted(Boolean value) Indicates whether the global cluster has storage encryption enabled.voidsetStorageEncrypted(IResolvable value) Indicates whether the global cluster has storage encryption enabled.voidThe tags to be assigned to the Amazon DocumentDB resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnGlobalCluster
protected CfnGlobalCluster(software.amazon.jsii.JsiiObjectRef objRef) -
CfnGlobalCluster
protected CfnGlobalCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnGlobalCluster
@Stability(Stable) public CfnGlobalCluster(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGlobalClusterProps props) Create a newAWS::DocDB::GlobalCluster.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForGlobalCluster
@Stability(Stable) @NotNull public static String arnForGlobalCluster(@NotNull IGlobalClusterRef resource) - Parameters:
resource- This parameter is required.
-
isCfnGlobalCluster
Checks whether the given object is a CfnGlobalCluster.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrGlobalClusterArn
The Amazon Resource Name (ARN) for the global cluster. -
getAttrGlobalClusterResourceId
The AWS Region-unique, immutable identifier for the global database cluster.This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getGlobalClusterRef
A reference to a GlobalCluster resource.- Specified by:
getGlobalClusterRefin interfaceIGlobalClusterRef
-
getGlobalClusterIdentifier
The cluster identifier of the global cluster. -
setGlobalClusterIdentifier
The cluster identifier of the global cluster. -
getDeletionProtection
Indicates whether the global cluster has deletion protection enabled.Returns union: either
BooleanorIResolvable -
setDeletionProtection
Indicates whether the global cluster has deletion protection enabled. -
setDeletionProtection
Indicates whether the global cluster has deletion protection enabled. -
getEngine
The database engine to use for this global cluster. -
setEngine
The database engine to use for this global cluster. -
getEngineVersion
The engine version to use for this global cluster. -
setEngineVersion
The engine version to use for this global cluster. -
getSourceDbClusterIdentifier
The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. -
setSourceDbClusterIdentifier
The Amazon Resource Name (ARN) to use as the primary cluster of the global cluster. -
getStorageEncrypted
Indicates whether the global cluster has storage encryption enabled.Returns union: either
BooleanorIResolvable -
setStorageEncrypted
Indicates whether the global cluster has storage encryption enabled. -
setStorageEncrypted
Indicates whether the global cluster has storage encryption enabled. -
getTags
The tags to be assigned to the Amazon DocumentDB resource. -
setTags
The tags to be assigned to the Amazon DocumentDB resource.
-