CmdID / aws / aws mediaconnect
aws mediaconnect tag-resource
Associates the specified tags to a resource with the specified resourceArn in the current region. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To add tags to a MediaConnect resource
The following tag-resource example adds a tag with a key name and value to the specified MediaConnect resource.
aws mediaconnect tag-resource --resource-arn arn:aws:mediaconnect:us-west-2:123456789012:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BasketballGame --tags region=westIdentify--resource-arnThe Amazon Resource Name (ARN) that identifies the MediaConnect resource to which to add tags.--tagsA map from tag keys to values.This command produces no output.
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 to which to add tags.--tagsA map from tag keys to values.