Add tags to a keyspace - Amazon Keyspaces (for Apache Cassandra)

Add tags to a keyspace

The following examples show how to add tags to a keyspace in Amazon Keyspaces.

Console
Add a tag to an existing keyspace using the console
  1. Sign in to the AWS Management Console, and open the Amazon Keyspaces console at https://console.aws.amazon.com/keyspaces/home.

  2. In the navigation pane, choose Keyspaces.

  3. Choose a keyspace from the list. Then choose the Tags tab where you can view the tags of the keyspace.

  4. Choose Manage tags to add, edit, or delete tags.

  5. Choose Save changes.

Cassandra Query Language (CQL)
Add a tag to an existing keyspace using CQL
  • ALTER KEYSPACE mykeyspace ADD TAGS {'key1':'val1', 'key2':'val2'};
CLI
Add a tag to an existing keyspace using the AWS CLI
  • The following example shows how to add new tags to an existing keyspace.

    aws keyspaces tag-resource --resource-arn 'arn:aws:cassandra:us-east-1:111222333444:/keyspace/myKeyspace/' --tags 'key=key3,value=val3' 'key=key4,value=val4'