CmdID

CmdID / aws / aws deploy

aws deploy list-tags-for-resource

Returns a list of tags for the resource identified by a specified Amazon Resource Name (ARN). AWS CLI reference

1 example 2 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 (application)

The following list-tags-for-resource example lists the tags applied to an application named testApp in CodeDeploy.

aws deploy list-tags-for-resource --resource-arn arn:aws:codedeploy:us-west-2:123456789012:application:testAppIdentify
--resource-arnThe ARN of a CodeDeploy resource.
Its output
{
    "Tags": [
        {
            "Key": "Type",
            "Value": "testType"
        },
        {
            "Key": "Name",
            "Value": "testName"
        }
    ]
}

For more information, see Tagging instances for deployment groups in CodeDeploy in the AWS CodeDeploy User Guide.

Options

2 in the AWS CLI reference
--next-tokenAn identifier returned from the previous ListTagsForResource call.
--resource-arnThe ARN of a CodeDeploy resource.