Create Keyspace
keyspaces_create_keyspace | R Documentation |
The CreateKeyspace operation adds a new keyspace to your account¶
Description¶
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.
create_keyspace
is an asynchronous operation. You can monitor the
creation status of the new keyspace by using the get_keyspace
operation.
For more information, see Creating keyspaces in the Amazon Keyspaces Developer Guide.
Usage¶
Arguments¶
keyspaceName
[required] The name of the keyspace to be created.
tags
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.
replicationSpecification
The replication specification of the keyspace includes:
replicationStrategy
- the required value isSINGLE_REGION
orMULTI_REGION
.regionList
- if thereplicationStrategy
isMULTI_REGION
, theregionList
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.
Value¶
A list with the following syntax: