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 Create a keyspace in the Amazon Keyspaces Developer Guide.
Usage¶
Arguments¶
-
keyspaceName[required] The name of the keyspace to be created.
-
tagsA 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.
-
replicationSpecificationThe replication specification of the keyspace includes:
replicationStrategy- the required value isSINGLE_REGIONorMULTI_REGION.regionList- if thereplicationStrategyisMULTI_REGION, theregionListrequires the current Region and at least one additional Amazon Web Services Region where the keyspace is going to be replicated in.
Value¶
A list with the following syntax: