account-access:TagResource

Tagging

account-access:TagResource is a Tagging access-level action in the account-access service. Grants permission to tag an account access manager resource

Resource types

ARNs that account-access:TagResource can be scoped to in an IAM policy.

arn:${Partition}:account-access:${Region}:${Account}:application/${ResourceId}
application

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by tag key-value pairs in the request

aws:ResourceTag/${TagKey} String

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

aws:TagKeys ArrayOfString

Filters access by tag keys

Example IAM policy

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

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

Related actions in account-access

View all account-access actions →