Interface CfnPlan.DocumentDbConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlan.DocumentDbConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlan
@Stability(Stable)
public static interface CfnPlan.DocumentDbConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for Amazon DocumentDB global clusters 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.*;
DocumentDbConfigurationProperty documentDbConfigurationProperty = DocumentDbConfigurationProperty.builder()
.behavior("behavior")
.databaseClusterArns(List.of("databaseClusterArns"))
.globalClusterIdentifier("globalClusterIdentifier")
// the properties below are optional
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.timeoutMinutes(123)
.ungraceful(DocumentDbUngracefulProperty.builder()
.ungraceful("ungraceful")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPlan.DocumentDbConfigurationPropertystatic final classAn implementation forCfnPlan.DocumentDbConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The behavior for a global cluster, 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 DocumentDB global cluster.default StringThe external ID (secret key) for the configuration.The global cluster identifier for a DocumentDB global cluster.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 cluster, that is, only allow switchover or also allow failover.- See Also:
-
getDatabaseClusterArns
The database cluster Amazon Resource Names (ARNs) for a DocumentDB global cluster.- See Also:
-
getGlobalClusterIdentifier
The global cluster identifier for a DocumentDB global cluster.- 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.DocumentDbUngracefulProperty- See Also:
-
builder
-