aiops:TagResource

Tagging

aiops:TagResource is a Tagging access-level action in the aiops service. Grants permission to add or update the specified tags for the specified resource

Resource types

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

arn:${Partition}:aiops:${Region}:${Account}:investigation-group/${InvestigationGroupId}
investigation-group

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in aiops

View all aiops actions →