iottwinmaker:ListTagsForResource

List

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

Resource types

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

arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/component-type/${ComponentTypeId}
componentType
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/entity/${EntityId}
entity
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/scene/${SceneId}
scene
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}/sync-job/${SyncJobId}
syncJob
arn:${Partition}:iottwinmaker:${Region}:${Account}:workspace/${WorkspaceId}
workspace

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to the resource

Example IAM policy

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

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

Related actions in iottwinmaker

View all iottwinmaker actions →