The create_keyspace
operation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names must be unique within each Region.
See https://www.paws-r-sdk.com/docs/keyspaces_create_keyspace/ for full documentation.
keyspaces_create_keyspace(
keyspaceName,
tags = NULL,
replicationSpecification = NULL
)
[required] The name of the keyspace to be created.
A list of key-value pair tags to be attached to the keyspace.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
The replication specification of the keyspace includes:
replicationStrategy
- the required value is SINGLE_REGION
or
MULTI_REGION
.
regionList
- if the replicationStrategy
is MULTI_REGION
, the
regionList
requires the current Region and at least one additional
Amazon Web Services Region where the keyspace is going to be
replicated in. The maximum number of supported replication Regions
including the current Region is six.