HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/sqs/tag-queue.rst
**To add cost allocation tags to a queue**

The following ``tag-queue`` example adds a cost allocation tag to the specified Amazon SQS queue. ::

    aws sqs tag-queue \
        --queue-url https://sqs.us-west-2.amazonaws.com/123456789012/MyQueue \
        --tags Priority=Highest

This command produces no output.

For more information, see `Adding Cost Allocation Tags <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html>`__ in the *Amazon Simple Queue Service Developer Guide*.