interface ReplicationSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins.CfnKeyspacePropsMixin.ReplicationSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscassandra/mixins#CfnKeyspacePropsMixin_ReplicationSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.cassandra.mixins.CfnKeyspacePropsMixin.ReplicationSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_cassandra.mixins.CfnKeyspacePropsMixin.ReplicationSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cassandra » mixins » CfnKeyspacePropsMixin » ReplicationSpecificationProperty |
You can use ReplicationSpecification to configure the ReplicationStrategy of a keyspace in Amazon Keyspaces .
The ReplicationSpecification property applies automatically to all tables in the keyspace.
To review the permissions that are required to add a new Region to a single-Region keyspace, see Configure the IAM permissions required to add an AWS Region to a keyspace in the Amazon Keyspaces Developer Guide .
For more information about multi-Region replication, see Multi-Region replication in the Amazon Keyspaces Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cassandra_mixins } from '@aws-cdk/mixins-preview/aws-cassandra';
const replicationSpecificationProperty: cassandra_mixins.CfnKeyspacePropsMixin.ReplicationSpecificationProperty = {
regionList: ['regionList'],
replicationStrategy: 'replicationStrategy',
};
Properties
| Name | Type | Description |
|---|---|---|
| region | string[] | Specifies the AWS Regions that the keyspace is replicated in. |
| replication | string | The options are:. |
regionList?
Type:
string[]
(optional)
Specifies the AWS Regions that the keyspace is replicated in.
You must specify at least two Regions, including the Region that the keyspace is being created in.
To specify a Region that's disabled by default , you must first enable the Region. For more information, see Multi-Region replication in AWS Regions disabled by default in the Amazon Keyspaces Developer Guide .
replicationStrategy?
Type:
string
(optional)
The options are:.
SINGLE_REGION(optional)MULTI_REGION
If no value is specified, the default is SINGLE_REGION . If MULTI_REGION is specified, RegionList is required.

.NET
Go
Java
Python
TypeScript