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.neptune.CfnGlobalCluster
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IGlobalClusterRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)",
date="2026-06-16T16:14:28.808Z")
@Stability(Stable)
public class CfnGlobalCluster
extends CfnResource
implements IInspectable, IGlobalClusterRef, ITaggableV2
Resource Type definition for AWS::Neptune::GlobalCluster.
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.neptune.*;
CfnGlobalCluster cfnGlobalCluster = CfnGlobalCluster.Builder.create(this, "MyCfnGlobalCluster")
.deletionProtection(false)
.engine("engine")
.engineVersion("engineVersion")
.globalClusterIdentifier("globalClusterIdentifier")
.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.neptune.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) Create a newAWS::Neptune::GlobalCluster.CfnGlobalCluster(software.constructs.Construct scope, String id, CfnGlobalClusterProps props) Create a newAWS::Neptune::GlobalCluster. -
Method Summary
Modifier and TypeMethodDescriptionTag Manager which manages the tags for this resource.Whether deletion protection is enabled.The name of the database engine.The version number of the database engine.The cluster identifier of the global database cluster.A reference to a GlobalCluster resource.The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.Whether the global database cluster is storage encrypted.getTags()An array of key-value pairs to apply to this 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) Whether deletion protection is enabled.voidsetDeletionProtection(IResolvable value) Whether deletion protection is enabled.voidThe name of the database engine.voidsetEngineVersion(String value) The version number of the database engine.voidsetGlobalClusterIdentifier(String value) The cluster identifier of the global database cluster.voidThe Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database.voidsetStorageEncrypted(Boolean value) Whether the global database cluster is storage encrypted.voidsetStorageEncrypted(IResolvable value) Whether the global database cluster is storage encrypted.voidAn array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, 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, overrideLogicalId, withMethods 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
getNode, withMethods 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, @Nullable CfnGlobalClusterProps props) Create a newAWS::Neptune::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.
-
CfnGlobalCluster
@Stability(Stable) public CfnGlobalCluster(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::Neptune::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.
-
-
Method Details
-
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.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getGlobalClusterRef
A reference to a GlobalCluster resource.- Specified by:
getGlobalClusterRefin interfaceIGlobalClusterRef
-
getDeletionProtection
Whether deletion protection is enabled.Returns union: either
BooleanorIResolvable -
setDeletionProtection
Whether deletion protection is enabled. -
setDeletionProtection
Whether deletion protection is enabled. -
getEngine
The name of the database engine. -
setEngine
The name of the database engine. -
getEngineVersion
The version number of the database engine. -
setEngineVersion
The version number of the database engine. -
getGlobalClusterIdentifier
The cluster identifier of the global database cluster. -
setGlobalClusterIdentifier
The cluster identifier of the global database cluster. -
getSourceDbClusterIdentifier
The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database. -
setSourceDbClusterIdentifier
The Amazon Resource Name (ARN) of an existing Neptune DB cluster to use as the primary cluster of the new global database. -
getStorageEncrypted
Whether the global database cluster is storage encrypted.Returns union: either
BooleanorIResolvable -
setStorageEncrypted
Whether the global database cluster is storage encrypted. -
setStorageEncrypted
Whether the global database cluster is storage encrypted. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-