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,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:12.728Z")
@Stability(Stable)
public class CfnGlobalCluster
extends CfnResource
implements IInspectable
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")
.engineVersion("engineVersion")
.globalClusterIdentifier("globalClusterIdentifier")
.sourceDbClusterIdentifier("sourceDbClusterIdentifier")
.storageEncrypted(false)
.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.IInspectable
IInspectable.Jsii$Default, IInspectable.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) CfnGlobalCluster(software.constructs.Construct scope, String id, CfnGlobalClusterProps props) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether to enable deletion protection for the new global database cluster.The database engine to use for this global database cluster.The engine version to use for this global database cluster.The cluster identifier for this 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDeletionProtection(Boolean value) Specifies whether to enable deletion protection for the new global database cluster.voidsetDeletionProtection(IResolvable value) Specifies whether to enable deletion protection for the new global database cluster.voidThe database engine to use for this global database cluster.voidsetEngineVersion(String value) The engine version to use for this global database cluster.voidsetGlobalClusterIdentifier(String value) The cluster identifier for this global database cluster.voidThe Amazon Resource Name (ARN) to use as the primary cluster of the global database.voidsetStorageEncrypted(Boolean value) Specifies whether to enable storage encryption for the new global database cluster.voidsetStorageEncrypted(IResolvable value) Specifies whether to enable storage encryption for the new global database cluster.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, 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.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:
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.
-
getCfnProperties
- Overrides:
getCfnPropertiesin 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. -
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. -
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.
-