HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/dynamodb/tag-resource.rst
**To add tags to a DynamoDB resource**

The following ``tag-resource`` example adds a tag key/value pair to the ``MusicCollection`` table. ::

    aws dynamodb tag-resource \
        --resource-arn arn:aws:dynamodb:us-west-2:123456789012:table/MusicCollection \
        --tags Key=Owner,Value=blueTeam

This command produces no output.

For more information, see `Tagging for DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html>`__ in the *Amazon DynamoDB Developer Guide*.