Skip to content

CreateKeyspaceRequest

Source code in docs_src/capo_keyspaces/types/create_keyspace_request.py
class CreateKeyspaceRequest(TypedDict, closed=True):
    keyspace_name: "capo_keyspaces.types.keyspace_name.KeyspaceName"
    """<p>The name of the keyspace to be created.</p>"""
    tags: NotRequired["capo_keyspaces.types.tag_list.TagList"]
    """<p>A list of key-value pair tags to be attached to the keyspace.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>"""
    replication_specification: NotRequired[
        "capo_keyspaces.types.replication_specification.ReplicationSpecification"
    ]
    """<p> The replication specification of the keyspace includes:</p> <ul> <li> <p> <code>replicationStrategy</code> - the required value is <code>SINGLE_REGION</code> or <code>MULTI_REGION</code>.</p> </li> <li> <p> <code>regionList</code> - if the <code>replicationStrategy</code> is <code>MULTI_REGION</code>, the <code>regionList</code> requires the current Region and at least one additional Amazon Web Services Region where the keyspace is going to be replicated in.</p> </li> </ul>"""

keyspace_name instance-attribute

keyspace_name: KeyspaceName

The name of the keyspace to be created.

replication_specification instance-attribute

replication_specification: NotRequired[ReplicationSpecification]

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.

tags instance-attribute

tags: NotRequired[TagList]

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.