Interface CfnKeyspace.ReplicationSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKeyspace.ReplicationSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnKeyspace
@Stability(Stable)
public static interface CfnKeyspace.ReplicationSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cassandra.*; ReplicationSpecificationProperty replicationSpecificationProperty = ReplicationSpecificationProperty.builder() .regionList(List.of("regionList")) .replicationStrategy("replicationStrategy") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnKeyspace.ReplicationSpecificationProperty
static final class
An 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 and up to six Regions, including the Region that the keyspace is being created in.
- See Also:
-
getReplicationStrategy
The options are:.SINGLE_REGION
(optional)MULTI_REGION
If no value is specified, the default is
SINGLE_REGION
. IfMULTI_REGION
is specified,RegionList
is required.- See Also:
-
builder
-