aws-cdk-lib.aws_cassandra.CfnKeyspace.ReplicationSpecificationProperty

interface ReplicationSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.Cassandra.CfnKeyspace.ReplicationSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscassandra#CfnKeyspace_ReplicationSpecificationProperty
Javasoftware.amazon.awscdk.services.cassandra.CfnKeyspace.ReplicationSpecificationProperty
Pythonaws_cdk.aws_cassandra.CfnKeyspace.ReplicationSpecificationProperty
TypeScript aws-cdk-lib » aws_cassandra » CfnKeyspace » ReplicationSpecificationProperty

You can use ReplicationSpecification to configure the ReplicationStrategy of a keyspace in Amazon Keyspaces.

The ReplicationSpecification property is CreateOnly and cannot be changed after the keyspace has been created. This property applies automatically to all tables in the keyspace.

For more information, 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 { aws_cassandra as cassandra } from 'aws-cdk-lib';
const replicationSpecificationProperty: cassandra.CfnKeyspace.ReplicationSpecificationProperty = {
  regionList: ['regionList'],
  replicationStrategy: 'replicationStrategy',
};

Properties

NameTypeDescription
regionList?string[]Specifies the AWS Regions that the keyspace is replicated in.
replicationStrategy?stringThe options are:.

regionList?

Type: string[] (optional)

Specifies the AWS Regions that the keyspace is replicated in.

You must specify at least two and up to six Regions, including the Region that the keyspace is being created in.


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.