Interface CfnGlobalClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGlobalClusterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.97.0 (build 729de35)",
date="2024-04-18T17:54:23.346Z")
@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.rds.*; CfnGlobalClusterProps cfnGlobalClusterProps = CfnGlobalClusterProps.builder() .deletionProtection(false) .engine("engine") .engineVersion("engineVersion") .globalClusterIdentifier("globalClusterIdentifier") .sourceDbClusterIdentifier("sourceDbClusterIdentifier") .storageEncrypted(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGlobalClusterProps
static final class
An implementation forCfnGlobalClusterProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies whether to enable deletion protection for the new global database cluster.default String
The database engine to use for this global database cluster.default String
The engine version to use for this global database cluster.default String
The cluster identifier for this global database cluster.default String
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.default Object
Specifies whether to enable storage encryption for the new global database cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeletionProtection
Specifies whether to enable deletion protection for the new global database cluster.The global database can't be deleted when deletion protection is enabled.
- See Also:
-
getEngine
The database engine to use for this global database cluster.Valid Values:
aurora-mysql | aurora-postgresql
Constraints:
- Can't be specified if
SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the engine of the source DB cluster.
- See Also:
- Can't be specified if
-
getEngineVersion
The engine version to use for this global database cluster.Constraints:
- Can't be specified if
SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
- See Also:
- Can't be specified if
-
getGlobalClusterIdentifier
The cluster identifier for this global database cluster.This parameter is stored as a lowercase string.
- See Also:
-
getSourceDbClusterIdentifier
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:
DatabaseName
Engine
EngineVersion
StorageEncrypted
- See Also:
-
getStorageEncrypted
Specifies whether to enable storage encryption for the new global database cluster.Constraints:
- Can't be specified if
SourceDBClusterIdentifier
is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
- See Also:
- Can't be specified if
-
builder
- Returns:
- a
CfnGlobalClusterProps.Builder
ofCfnGlobalClusterProps
-