CmdID / aws / aws appmesh
aws appmesh tag-resource
Associates the specified tags to a resource with the specified resourceArn. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To tag a resource
The following tag-resource example adds the tag key1 with the value value1 to the specified resource.
aws appmesh tag-resource --resource-arn arn:aws:appmesh:us-west-2:123456789012:mesh/app1 --tags key=key1,value=value1Identify--resource-arnThe Amazon Resource Name (ARN) of the resource to add tags to.--tagsThe tags to add to the resource.This command produces no output.
For more information, see Service Meshes in the AWS App Mesh User Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) of the resource to add tags to.--tagsThe tags to add to the resource.