interface DocumentDbConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ARCRegionSwitch.CfnPlanPropsMixin.DocumentDbConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsarcregionswitch#CfnPlanPropsMixin_DocumentDbConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.DocumentDbConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_arcregionswitch.CfnPlanPropsMixin.DocumentDbConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_arcregionswitch » CfnPlanPropsMixin » DocumentDbConfigurationProperty |
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 { aws_arcregionswitch as arcregionswitch } from '@aws-cdk/cfn-property-mixins';
const documentDbConfigurationProperty: arcregionswitch.CfnPlanPropsMixin.DocumentDbConfigurationProperty = {
behavior: 'behavior',
crossAccountRole: 'crossAccountRole',
databaseClusterArns: ['databaseClusterArns'],
externalId: 'externalId',
globalClusterIdentifier: 'globalClusterIdentifier',
timeoutMinutes: 123,
ungraceful: {
ungraceful: 'ungraceful',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| behavior? | string | The behavior for a global cluster, that is, only allow switchover or also allow failover. |
| cross | string | The cross account role for the configuration. |
| database | string[] | The database cluster Amazon Resource Names (ARNs) for a DocumentDB global cluster. |
| external | string | The external ID (secret key) for the configuration. |
| global | string | The global cluster identifier for a DocumentDB global cluster. |
| timeout | number | The timeout value specified for the configuration. |
| ungraceful? | IResolvable | Document | The settings for ungraceful execution. |
behavior?
Type:
string
(optional)
The behavior for a global cluster, that is, only allow switchover or also allow failover.
crossAccountRole?
Type:
string
(optional)
The cross account role for the configuration.
databaseClusterArns?
Type:
string[]
(optional)
The database cluster Amazon Resource Names (ARNs) for a DocumentDB global cluster.
externalId?
Type:
string
(optional)
The external ID (secret key) for the configuration.
globalClusterIdentifier?
Type:
string
(optional)
The global cluster identifier for a DocumentDB global cluster.
timeoutMinutes?
Type:
number
(optional, default: 60)
The timeout value specified for the configuration.
ungraceful?
Type:
IResolvable | Document
(optional)
The settings for ungraceful execution.

.NET
Go
Java
Python
TypeScript