assurance:TagResource

Tagging

assurance:TagResource is a Tagging access-level action in the assurance service. Grants permission to add or overwrite tags on a resource

Resource types

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

arn:${Partition}:assurance:${Region}:${Account}:environment/${Environment} required
environment

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters access by the tag keys that are passed in the request

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

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

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

Related actions in assurance

View all assurance actions →