CmdID

CmdID / aws / aws iot

aws iot tag-resource

Adds to or modifies the tags of the given resource. 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 specify a tag key and value for a resource

The following tag-resource example applies the tag with a key Assembly and the value Fact1NW to the thing group LightBulbs.

aws iot tag-resource --tags Key=Assembly,Value="Fact1NW" --resource-arn "arn:aws:iot:us-west-2:123456789012:thinggroup/LightBulbs"Identify
--tagsThe new or modified tags for the resource.
--resource-arnThe ARN of the resource.

This command produces no output.

For more information, see Tagging Your AWS IoT Resources in the AWS IoT Developer Guide.

Options

2 in the AWS CLI reference
--resource-arnThe ARN of the resource.
--tagsThe new or modified tags for the resource.