CmdID

CmdID / aws / aws networkmanager

aws networkmanager tag-resource

Tags a specified 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 apply tags to a resource

The following tag-resource example applies the tag Network=Northeast to the device device-07f6fd08867abc123.

aws networkmanager tag-resource --resource-arn arn:aws:networkmanager::123456789012:device/global-network-01231231231231231/device-07f6fd08867abc123 --tags Key=Network,Value=NortheastIdentify
--resource-arnThe Amazon Resource Name (ARN) of the resource.
--tagsThe tags to apply to the specified resource.

This command produces no output.

For more information, see Resource tags in AWS Global Networks for Transit Gateways in the AWS Global Networks for Transit Gateways User Guide.

Options

2 in the AWS CLI reference
--resource-arnThe Amazon Resource Name (ARN) of the resource.
--tagsThe tags to apply to the specified resource.