globalaccelerator:TagResource

Tagging

globalaccelerator:TagResource is a Tagging access-level action in the globalaccelerator service. Grants permission to add tags to a globalaccelerator resource

Resource types

ARNs that globalaccelerator:TagResource can be scoped to in an IAM policy.

arn:${Partition}:globalaccelerator::${Account}:accelerator/${ResourceId}
accelerator
arn:${Partition}:globalaccelerator::${Account}:attachment/${ResourceId}
attachment

Condition keys

Keys you can use in the Condition block of a policy that grants globalaccelerator:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows globalaccelerator:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowGlobalacceleratorTagResource",
      "Effect": "Allow",
      "Action": "globalaccelerator:TagResource",
      "Resource": "*"
    }
  ]
}

Related actions in globalaccelerator

View all globalaccelerator actions →