interface CfnGlobalClusterProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RDS.CfnGlobalClusterProps |
Java | software.amazon.awscdk.services.rds.CfnGlobalClusterProps |
Python | aws_cdk.aws_rds.CfnGlobalClusterProps |
TypeScript | @aws-cdk/aws-rds » CfnGlobalClusterProps |
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 * as rds from '@aws-cdk/aws-rds';
const cfnGlobalClusterProps: rds.CfnGlobalClusterProps = {
deletionProtection: false,
engine: 'engine',
engineVersion: 'engineVersion',
globalClusterIdentifier: 'globalClusterIdentifier',
sourceDbClusterIdentifier: 'sourceDbClusterIdentifier',
storageEncrypted: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| deletion | boolean | IResolvable | The deletion protection setting for the new global database. |
| engine? | string | The name of the database engine to be used for this DB cluster. |
| engine | string | The engine version of the Aurora global database. |
| global | string | The cluster identifier of the global database cluster. |
| source | string | The DB cluster identifier or Amazon Resource Name (ARN) to use as the primary cluster of the global database. |
| storage | boolean | IResolvable | The storage encryption setting for the global database cluster. |
deletionProtection?
Type:
boolean | IResolvable
(optional)
The deletion protection setting for the new global database.
The global database can't be deleted when deletion protection is enabled.
engine?
Type:
string
(optional)
The name of the database engine to be used for this DB cluster.
If this property isn't specified, the database engine is derived from the source DB cluster specified by the SourceDBClusterIdentifier property.
If the
SourceDBClusterIdentifierproperty isn't specified, this property is required. If theSourceDBClusterIdentifierproperty is specified, make sure this property isn't specified.
engineVersion?
Type:
string
(optional)
The engine version of the Aurora global database.
globalClusterIdentifier?
Type:
string
(optional)
The cluster identifier of the global database cluster.
sourceDbClusterIdentifier?
Type:
string
(optional)
The DB cluster identifier or Amazon Resource Name (ARN) to use as the primary cluster of the global database.
If the
Engineproperty isn't specified, this property is required. If theEngineproperty is specified, make sure this property isn't specified.
storageEncrypted?
Type:
boolean | IResolvable
(optional)
The storage encryption setting for the global database cluster.

.NET
Java
Python
TypeScript