CmdID / aws / aws appmesh
aws appmesh list-tags-for-resource
List the tags for an App Mesh resource. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list tags for a resource
The following list-tags-for-resource example lists all of the tags assigned to the specified resource.
aws appmesh list-tags-for-resource --resource-arn arn:aws:appmesh:us-west-2:123456789012:mesh/app1Identify--resource-arnThe Amazon Resource Name (ARN) that identifies the resource to list the tags for.Its output
{
"tags": [
{
"key": "key1",
"value": "value1"
},
{
"key": "key2",
"value": "value2"
},
{
"key": "key3",
"value": "value3"
}
]
}For more information, see Service Meshes in the AWS App Mesh User Guide.
Options
--limitThe maximum number of tag results returned by ListTagsForResource in paginated output.--next-tokenThe nextToken value returned from a previous paginated ListTagsForResource request where limit was used and the results exceeded the value of that parameter.--resource-arnThe Amazon Resource Name (ARN) that identifies the resource to list the tags for.