pi:TagResource

Tagging

pi:TagResource is a Tagging access-level action in the pi service. Grants permission to call TagResource API to tag a resource

Resource types

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

arn:${Partition}:pi:${Region}:${Account}:perf-reports/${ServiceType}/${Identifier}/${ReportId}
perf-reports-resource

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in pi

View all pi actions →