Class CfnGlobalClusterProps
Properties for defining a CfnGlobalCluster.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGlobalClusterProps : ICfnGlobalClusterProps
Syntax (vb)
Public Class CfnGlobalClusterProps Implements ICfnGlobalClusterProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var cfnGlobalClusterProps = new CfnGlobalClusterProps {
DeletionProtection = false,
Engine = "engine",
EngineLifecycleSupport = "engineLifecycleSupport",
EngineVersion = "engineVersion",
GlobalClusterIdentifier = "globalClusterIdentifier",
SourceDbClusterIdentifier = "sourceDbClusterIdentifier",
StorageEncrypted = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnGlobalClusterProps() | Properties for defining a |
Properties
| DeletionProtection | Specifies whether to enable deletion protection for the new global database cluster. |
| Engine | The database engine to use for this global database cluster. |
| EngineLifecycleSupport | The life cycle type for this global database cluster. |
| EngineVersion | The engine version to use for this global database cluster. |
| GlobalClusterIdentifier | The cluster identifier for this global database cluster. |
| SourceDbClusterIdentifier | The Amazon Resource Name (ARN) to use as the primary cluster of the global database. |
| StorageEncrypted | Specifies whether to enable storage encryption for the new global database cluster. |
| Tags | Metadata assigned to an Amazon RDS resource consisting of a key-value pair. |
Constructors
CfnGlobalClusterProps()
Properties for defining a CfnGlobalCluster.
public CfnGlobalClusterProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var cfnGlobalClusterProps = new CfnGlobalClusterProps {
DeletionProtection = false,
Engine = "engine",
EngineLifecycleSupport = "engineLifecycleSupport",
EngineVersion = "engineVersion",
GlobalClusterIdentifier = "globalClusterIdentifier",
SourceDbClusterIdentifier = "sourceDbClusterIdentifier",
StorageEncrypted = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
DeletionProtection
Specifies whether to enable deletion protection for the new global database cluster.
public object? DeletionProtection { get; set; }
Property Value
Remarks
The global database can't be deleted when deletion protection is enabled.
Type union: either bool or IResolvable
Engine
The database engine to use for this global database cluster.
public string? Engine { get; set; }
Property Value
Remarks
Valid Values: aurora-mysql | aurora-postgresql
Constraints:
EngineLifecycleSupport
The life cycle type for this global database cluster.
public string? EngineLifecycleSupport { get; set; }
Property Value
Remarks
By default, this value is set to <code>open-source-rds-extended-support</code> , which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to <code>open-source-rds-extended-support-disabled</code> . In this case, creating the global cluster will fail if the DB major version is past its end of standard support date.
This setting only applies to Aurora PostgreSQL-based global databases.
You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see Amazon RDS Extended Support with Amazon Aurora in the Amazon Aurora User Guide .
Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled
Default: open-source-rds-extended-support
EngineVersion
The engine version to use for this global database cluster.
public string? EngineVersion { get; set; }
Property Value
Remarks
GlobalClusterIdentifier
The cluster identifier for this global database cluster.
public string? GlobalClusterIdentifier { get; set; }
Property Value
Remarks
This parameter is stored as a lowercase string.
SourceDbClusterIdentifier
The Amazon Resource Name (ARN) to use as the primary cluster of the global database.
public object? SourceDbClusterIdentifier { get; set; }
Property Value
Remarks
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:
Type union: either string or IDBClusterRef
StorageEncrypted
Specifies whether to enable storage encryption for the new global database cluster.
public object? StorageEncrypted { get; set; }
Property Value
Remarks
Tags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide .