CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

3 in the AWS CLI reference
--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.