CmdID / aws / aws globalaccelerator
aws globalaccelerator tag-resource
Add tags to an accelerator resource. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To tag an accelerator
The following tag-resource example adds tags Name and Project to an accelerator, along with corresponding values for each.
aws globalaccelerator tag-resource --resource-arn arn:aws:globalaccelerator::123456789012:accelerator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --tags Key="Name",Value="Example Name" Key="Project",Value="Example Project"Identify--resource-arnThe Amazon Resource Name (ARN) of the Global Accelerator resource to add tags to.--tagsThe tags to add to a resource.This command produces no output.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) of the Global Accelerator resource to add tags to.--tagsThe tags to add to a resource.