CmdID

CmdID / aws / aws deploy

aws deploy tag-resource

Associates the list of tags in the input Tags parameter with the resource identified by the ResourceArn input parameter. 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 tag a resource (application)

The following tag-resource example adds two tags with keys Name and Type, and values testName and testType to an application named testApp in CodeDeploy.

aws deploy tag-resource --resource-arn arn:aws:codedeploy:us-west-2:123456789012:application:testApp --tags Key=Name,Value=testName Key=Type,Value=testTypeIdentify
--resource-arnThe ARN of a resource, such as a CodeDeploy application or deployment group.
--tagsA list of tags that TagResource associates with a resource.

This command produces no output.

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

Options

2 in the AWS CLI reference
--resource-arnThe ARN of a resource, such as a CodeDeploy application or deployment group.
--tagsA list of tags that TagResource associates with a resource.