one:ListTagsForResource

Read

one:ListTagsForResource is a Read access-level action in the one service. Grants permission to list tags for an Amazon One Enterprise resource

Resource types

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

arn:${Partition}:one:${Region}:${Account}:device-configuration-template/${TemplateId}
device-configuration-template
arn:${Partition}:one:${Region}:${Account}:device-instance/${DeviceInstanceId}
device-instance
arn:${Partition}:one:${Region}:${Account}:site/${SiteId}
site

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by using tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in one

View all one actions →