dataexchange:PublishToDataGrant

Write

dataexchange:PublishToDataGrant is a Write access-level action in the dataexchange service. Grants permission to publish a data set to a data grant

Resource types

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

arn:${Partition}:dataexchange:${Region}:${Account}:data-sets/${DataSetId}
data-sets

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tag value associated with the resource

Example IAM policy

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

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

Related actions in dataexchange

View all dataexchange actions →