aws sns list-tags-for-resource
List all tags added to the specified Amazon SNS topic. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To list tags for a topic
The following list-tags-for-resource example lists the tags for the specified Amazon SNS topic.
aws sns list-tags-for-resource --resource-arn arn:aws:sns:us-west-2:123456789012:MyTopicIdentify--resource-arnThe ARN of the topic for which to list tags.Its output
{
"Tags": [
{
"Key": "Team",
"Value": "Alpha"
}
]
}For more information, see Amazon SNS topic tagging in the Amazon Simple Notification Service Developer Guide.
Options
--resource-arnThe ARN of the topic for which to list tags.