Interface CfnKeyspace.ReplicationSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKeyspace.ReplicationSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnKeyspace
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 software.amazon.awscdk.services.cassandra.*;
ReplicationSpecificationProperty replicationSpecificationProperty = ReplicationSpecificationProperty.builder()
.regionList(List.of("regionList"))
.replicationStrategy("replicationStrategy")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKeyspace.ReplicationSpecificationPropertystatic final classAn implementation forCfnKeyspace.ReplicationSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRegionList
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 .
- See Also:
-
getReplicationStrategy
The options are:.SINGLE_REGION(optional)MULTI_REGION
If no value is specified, the default is
SINGLE_REGION. IfMULTI_REGIONis specified,RegionListis required.- See Also:
-
builder
-