dataexchange:TagResource

Tagging

dataexchange:TagResource is a Tagging access-level action in the dataexchange service. Grants permission to add one or more tags to a specified resource

Resource types

ARNs that dataexchange:TagResource 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:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by the tag value associated with the resource

Example IAM policy

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

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

Related actions in dataexchange

View all dataexchange actions →