codeguru-reviewer:TagResource

Tagging

codeguru-reviewer:TagResource is a Tagging access-level action in the codeguru-reviewer service. Grants permission to attach resource tags to an associated repository ARN

Resource types

ARNs that codeguru-reviewer:TagResource can be scoped to in an IAM policy.

arn:${Partition}:codeguru-reviewer:${Region}:${Account}:association:${ResourceId}
association

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in codeguru-reviewer

View all codeguru-reviewer actions →