CmdID

CmdID / aws / aws ssm

aws ssm remove-tags-from-resource

Removes tag keys from the specified 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 remove a tag from a patch baseline

The following remove-tags-from-resource example removes tags from a patch baseline.

aws ssm remove-tags-from-resource --resource-type "PatchBaseline" --resource-id "pb-0123456789abcdef0" --tag-keys "Region"Identify
--resource-typeThe type of resource from which you want to remove a tag.
--resource-idThe ID of the resource from which you want to remove tags.
--tag-keysTag keys that you want to remove from the specified resource.

This command produces no output.

For more information, see Working with Patch Manager resources using the AWS CLI in the AWS Systems Manager User Guide.

Options

3 in the AWS CLI reference
--resource-idThe ID of the resource from which you want to remove tags.
--resource-typeThe type of resource from which you want to remove a tag.
--tag-keysTag keys that you want to remove from the specified resource.