Interface CfnPlan.GlobalAuroraConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlan.GlobalAuroraConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlan
@Stability(Stable)
public static interface CfnPlan.GlobalAuroraConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for Amazon Aurora global databases used in a Region switch plan.
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.arcregionswitch.*;
GlobalAuroraConfigurationProperty globalAuroraConfigurationProperty = GlobalAuroraConfigurationProperty.builder()
.behavior("behavior")
.databaseClusterArns(List.of("databaseClusterArns"))
.globalClusterIdentifier("globalClusterIdentifier")
// the properties below are optional
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.timeoutMinutes(123)
.ungraceful(GlobalAuroraUngracefulProperty.builder()
.ungraceful("ungraceful")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlan.GlobalAuroraConfigurationPropertystatic final classAn implementation forCfnPlan.GlobalAuroraConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The behavior for a global database, that is, only allow switchover or also allow failover.default StringThe cross account role for the configuration.The database cluster Amazon Resource Names (ARNs) for a global database.default StringThe external ID (secret key) for the configuration.The global cluster identifier for a global database.default NumberThe timeout value specified for the configuration.default ObjectThe settings for ungraceful execution.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBehavior
The behavior for a global database, that is, only allow switchover or also allow failover.- See Also:
-
getDatabaseClusterArns
The database cluster Amazon Resource Names (ARNs) for a global database.- See Also:
-
getGlobalClusterIdentifier
The global cluster identifier for a global database.- See Also:
-
getCrossAccountRole
The cross account role for the configuration.- See Also:
-
getExternalId
The external ID (secret key) for the configuration.- See Also:
-
getTimeoutMinutes
The timeout value specified for the configuration.Default: - 60
- See Also:
-
getUngraceful
The settings for ungraceful execution.Returns union: either
IResolvableorCfnPlan.GlobalAuroraUngracefulProperty- See Also:
-
builder
-