AWS::Cassandra::Keyspace ReplicationSpecification
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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "RegionList" :
[ String, ... ]
, "ReplicationStrategy" :String
}
YAML
RegionList:
- String
ReplicationStrategy:String
Properties
RegionList
-
Specifies the Amazon 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.
Required: No
Type: Array of String
Allowed values:
ap-northeast-1 | ap-northeast-2 | ap-south-1 | ap-southeast-1 | ap-southeast-2 | ca-central-1 | eu-central-1 | eu-north-1 | eu-west-1 | eu-west-2 | eu-west-3 | sa-east-1 | us-east-1 | us-east-2 | us-west-1 | us-west-2
Minimum:
2
Maximum:
6
Update requires: Replacement
ReplicationStrategy
-
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.Required: No
Type: String
Allowed values:
SINGLE_REGION | MULTI_REGION
Update requires: Replacement
-