aiops:ListTagsForResource

List

aiops:ListTagsForResource is a List access-level action in the aiops service. Grants permission to list the tags for the specified resource

Resource types

ARNs that aiops:ListTagsForResource 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:ListTagsForResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in aiops

View all aiops actions →