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.rds.CfnGlobalCluster
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:37.961Z")
@Stability(Stable)
public class CfnGlobalCluster
extends CfnResource
implements IInspectable, ITaggableV2
The
AWS::RDS::GlobalCluster
resource creates or updates an Amazon Aurora global database spread across multiple AWS Regions.
The global database contains a single primary cluster with read-write capability, and a read-only secondary cluster that receives data from the primary cluster through high-speed replication performed by the Aurora storage subsystem.
You can create a global database that is initially empty, and then add a primary cluster and a secondary cluster to it.
For information about Aurora global databases, see Working with Amazon Aurora Global Databases in the Amazon Aurora User Guide .
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.rds.*; CfnGlobalCluster cfnGlobalCluster = CfnGlobalCluster.Builder.create(this, "MyCfnGlobalCluster") .deletionProtection(false) .engine("engine") .engineLifecycleSupport("engineLifecycleSupport") .engineVersion("engineVersion") .globalClusterIdentifier("globalClusterIdentifier") .globalEndpoint(GlobalEndpointProperty.builder() .address("address") .build()) .sourceDbClusterIdentifier("sourceDbClusterIdentifier") .storageEncrypted(false) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnGlobalCluster
.static interface
The writer endpoint for the new global database cluster.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnGlobalCluster
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnGlobalCluster
(software.amazon.jsii.JsiiObjectRef objRef) CfnGlobalCluster
(software.constructs.Construct scope, String id) CfnGlobalCluster
(software.constructs.Construct scope, String id, CfnGlobalClusterProps props) -
Method Summary
Modifier and TypeMethodDescriptionTag Manager which manages the tags for this resource.Specifies whether to enable deletion protection for the new global database cluster.The database engine to use for this global database cluster.The life cycle type for this global database cluster.The engine version to use for this global database cluster.The cluster identifier for this global database cluster.The writer endpoint for the new global database cluster.The Amazon Resource Name (ARN) to use as the primary cluster of the global database.Specifies whether to enable storage encryption for the new global database cluster.getTags()
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDeletionProtection
(Boolean value) Specifies whether to enable deletion protection for the new global database cluster.void
setDeletionProtection
(IResolvable value) Specifies whether to enable deletion protection for the new global database cluster.void
The database engine to use for this global database cluster.void
setEngineLifecycleSupport
(String value) The life cycle type for this global database cluster.void
setEngineVersion
(String value) The engine version to use for this global database cluster.void
setGlobalClusterIdentifier
(String value) The cluster identifier for this global database cluster.void
setGlobalEndpoint
(IResolvable value) The writer endpoint for the new global database cluster.void
The writer endpoint for the new global database cluster.void
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.void
setStorageEncrypted
(Boolean value) Specifies whether to enable storage encryption for the new global database cluster.void
setStorageEncrypted
(IResolvable value) Specifies whether to enable storage encryption for the new global database cluster.void
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getDeletionProtection
Specifies whether to enable deletion protection for the new global database cluster. -
setDeletionProtection
Specifies whether to enable deletion protection for the new global database cluster. -
setDeletionProtection
Specifies whether to enable deletion protection for the new global database cluster. -
getEngine
The database engine to use for this global database cluster. -
setEngine
The database engine to use for this global database cluster. -
getEngineLifecycleSupport
The life cycle type for this global database cluster. -
setEngineLifecycleSupport
The life cycle type for this global database cluster. -
getEngineVersion
The engine version to use for this global database cluster. -
setEngineVersion
The engine version to use for this global database cluster. -
getGlobalClusterIdentifier
The cluster identifier for this global database cluster. -
setGlobalClusterIdentifier
The cluster identifier for this global database cluster. -
getGlobalEndpoint
The writer endpoint for the new global database cluster. -
setGlobalEndpoint
The writer endpoint for the new global database cluster. -
setGlobalEndpoint
@Stability(Stable) public void setGlobalEndpoint(@Nullable CfnGlobalCluster.GlobalEndpointProperty value) The writer endpoint for the new global database cluster. -
getSourceDbClusterIdentifier
The Amazon Resource Name (ARN) to use as the primary cluster of the global database. -
setSourceDbClusterIdentifier
The Amazon Resource Name (ARN) to use as the primary cluster of the global database. -
getStorageEncrypted
Specifies whether to enable storage encryption for the new global database cluster. -
setStorageEncrypted
Specifies whether to enable storage encryption for the new global database cluster. -
setStorageEncrypted
Specifies whether to enable storage encryption for the new global database cluster. -
getTags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair. -
setTags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
-