Class CfnGlobalClusterPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalClusterPropsMixin>
- Enclosing class:
CfnGlobalClusterPropsMixin
CfnGlobalClusterPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deletionProtection(Boolean deletionProtection) Specifies whether to enable deletion protection for the new global database cluster.deletionProtection(IResolvable deletionProtection) Specifies whether to enable deletion protection for the new global database cluster.The database engine to use for this global database cluster.engineLifecycleSupport(String engineLifecycleSupport) The life cycle type for this global database cluster.engineVersion(String engineVersion) The engine version to use for this global database cluster.globalClusterIdentifier(String globalClusterIdentifier) The cluster identifier for this global database cluster.sourceDbClusterIdentifier(String sourceDbClusterIdentifier) The Amazon Resource Name (ARN) to use as the primary cluster of the global database.sourceDbClusterIdentifier(IDBClusterRef sourceDbClusterIdentifier) The Amazon Resource Name (ARN) to use as the primary cluster of the global database.storageEncrypted(Boolean storageEncrypted) Specifies whether to enable storage encryption for the new global database cluster.storageEncrypted(IResolvable storageEncrypted) Specifies whether to enable storage encryption for the new global database cluster.Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
-
Method Details
-
create
@Stability(Stable) public static CfnGlobalClusterPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGlobalClusterPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGlobalClusterPropsMixin.Builder.
-
deletionProtection
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder deletionProtection(Boolean deletionProtection) Specifies whether to enable deletion protection for the new global database cluster.The global database can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection- Specifies whether to enable deletion protection for the new global database cluster. This parameter is required.- Returns:
this- See Also:
-
deletionProtection
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder deletionProtection(IResolvable deletionProtection) Specifies whether to enable deletion protection for the new global database cluster.The global database can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection- Specifies whether to enable deletion protection for the new global database cluster. This parameter is required.- Returns:
this- See Also:
-
engine
The database engine to use for this global database cluster.Valid Values:
aurora-mysql | aurora-postgresqlConstraints:
- Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine of the source DB cluster.
- Parameters:
engine- The database engine to use for this global database cluster. This parameter is required.- Returns:
this- See Also:
- Can't be specified if
-
engineLifecycleSupport
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder engineLifecycleSupport(String engineLifecycleSupport) The life cycle type for this global database cluster.By default, this value is set to
open-source-rds-extended-support, 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 toopen-source-rds-extended-support-disabled. 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-disabledDefault:
open-source-rds-extended-support- Parameters:
engineLifecycleSupport- The life cycle type for this global database cluster. This parameter is required.- Returns:
this- See Also:
-
engineVersion
The engine version to use for this global database cluster.Constraints:
- Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.
- Parameters:
engineVersion- The engine version to use for this global database cluster. This parameter is required.- Returns:
this- See Also:
- Can't be specified if
-
globalClusterIdentifier
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder globalClusterIdentifier(String globalClusterIdentifier) The cluster identifier for this global database cluster.This parameter is stored as a lowercase string.
- Parameters:
globalClusterIdentifier- The cluster identifier for this global database cluster. This parameter is required.- Returns:
this- See Also:
-
sourceDbClusterIdentifier
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder sourceDbClusterIdentifier(String sourceDbClusterIdentifier) 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:
DatabaseNameEngineEngineVersionStorageEncrypted
- Parameters:
sourceDbClusterIdentifier- The Amazon Resource Name (ARN) to use as the primary cluster of the global database. This parameter is required.- Returns:
this- See Also:
-
sourceDbClusterIdentifier
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder sourceDbClusterIdentifier(IDBClusterRef sourceDbClusterIdentifier) 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:
DatabaseNameEngineEngineVersionStorageEncrypted
- Parameters:
sourceDbClusterIdentifier- The Amazon Resource Name (ARN) to use as the primary cluster of the global database. This parameter is required.- Returns:
this- See Also:
-
storageEncrypted
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder storageEncrypted(Boolean storageEncrypted) Specifies whether to enable storage encryption for the new global database cluster.Constraints:
- Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
- Parameters:
storageEncrypted- Specifies whether to enable storage encryption for the new global database cluster. This parameter is required.- Returns:
this- See Also:
- Can't be specified if
-
storageEncrypted
@Stability(Stable) public CfnGlobalClusterPropsMixin.Builder storageEncrypted(IResolvable storageEncrypted) Specifies whether to enable storage encryption for the new global database cluster.Constraints:
- Can't be specified if
SourceDBClusterIdentifieris specified. In this case, Amazon Aurora uses the setting from the source DB cluster.
- Parameters:
storageEncrypted- Specifies whether to enable storage encryption for the new global database cluster. This parameter is required.- Returns:
this- See Also:
- Can't be specified if
-
tags
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.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 .
- Parameters:
tags- Metadata assigned to an Amazon RDS resource consisting of a key-value pair. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGlobalClusterPropsMixin>- Returns:
- a newly built instance of
CfnGlobalClusterPropsMixin.
-