synthetics:TagResource

Tagging

synthetics:TagResource is a Tagging access-level action in the synthetics service. Grants permission to add one or more tags to a resource

Resource types

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

arn:${Partition}:synthetics:${Region}:${Account}:canary:${CanaryName}
canary
arn:${Partition}:synthetics:${Region}:${Account}:group:${GroupId}
group

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Example IAM policy

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

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

Related actions in synthetics

View all synthetics actions →