aidevops:ListTagsForResource

Read

aidevops:ListTagsForResource is a Read access-level action in the aidevops service. Grants permission to list tags for a resource

Resource types

ARNs that aidevops:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:aidevops:${Region}:${Account}:agentspace/${AgentSpaceId}
agentspace
arn:${Partition}:aidevops:${Region}:${Account}:private-connection/${Name}
private-connection
arn:${Partition}:aidevops:${Region}:${Account}:service/${ServiceId}
service

Condition keys

Keys you can use in the Condition block of a policy that grants aidevops:ListTagsForResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in aidevops

View all aidevops actions →