CmdID / aws / aws deploy
aws deploy untag-resource
Disassociates a resource from a list of tags. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To remove tags from a resource (application)
The following untag-resource example removes two tags with keys Name and Type from an application named testApp in CodeDeploy.
aws deploy untag-resource --resource-arn arn:aws:codedeploy:us-west-2:123456789012:application:testApp --tag-keys Name TypeIdentify--resource-arnThe Amazon Resource Name (ARN) that specifies from which resource to disassociate the tags with the keys in the TagKeys input parameter.--tag-keysA list of keys of Tag objects.This command produces no output.
For more information, see Tagging instances for deployment groups in CodeDeploy in the AWS CodeDeploy User Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) that specifies from which resource to disassociate the tags with the keys in the TagKeys input parameter.--tag-keysA list of keys of Tag objects.