CmdID / aws / aws mediaconnect
aws mediaconnect list-tags-for-resource
List all tags on a MediaConnect resource in the current region. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To list tags for a MediaConnect resource
The following list-tags-for-resource example displays the tag keys and values associated with the specified MediaConnect resource.
aws mediaconnect list-tags-for-resource --resource-arn arn:aws:mediaconnect:us-west-2:123456789012:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BasketballGameIdentify--resource-arnThe Amazon Resource Name (ARN) that identifies the MediaConnect resource for which to list the tags.Its output
{
"Tags": {
"region": "west",
"stage": "prod"
}
}For more information, see Tagging AWS Elemental MediaConnect resources in the AWS Elemental MediaConnect User Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) that identifies the MediaConnect resource for which to list the tags.