dataexchange:ListTagsForResource

List

dataexchange:ListTagsForResource is a List access-level action in the dataexchange service. Grants permission to list the tags that you associated with the specified resource

Resource types

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

arn:${Partition}:dataexchange:${Region}:${Account}:data-sets/${DataSetId}/revisions/${RevisionId}/assets/${AssetId}
assets
arn:${Partition}:dataexchange:${Region}:${Account}:data-grants/${DataGrantId}
data-grants
arn:${Partition}:dataexchange:${Region}:${Account}:data-sets/${DataSetId}
data-sets
arn:${Partition}:dataexchange:${Region}:${Account}:event-actions/${EventActionId}
event-actions
arn:${Partition}:dataexchange:${Region}:${Account}:data-sets/${DataSetId}/revisions/${RevisionId}
revisions

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tag value associated with the resource

Example IAM policy

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

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

Related actions in dataexchange

View all dataexchange actions →