aws-marketplace:GetResourcePolicy

Read

aws-marketplace:GetResourcePolicy is a Read access-level action in the aws-marketplace service. Grants permission to get the resource policy of an existing entity

Resource types

ARNs that aws-marketplace:GetResourcePolicy can be scoped to in an IAM policy.

arn:${Partition}:aws-marketplace:${Region}:${Account}:${Catalog}/${EntityType}/${ResourceId}
Entity

Condition keys

Keys you can use in the Condition block of a policy that grants aws-marketplace:GetResourcePolicy.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

catalog:ChangeType String

Filters access by the change type in the StartChangeSet request

Example IAM policy

A minimal policy that allows aws-marketplace:GetResourcePolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAwsmarketplaceGetResourcePolicy",
      "Effect": "Allow",
      "Action": "aws-marketplace:GetResourcePolicy",
      "Resource": "*"
    }
  ]
}

Related actions in aws-marketplace

View all aws-marketplace actions →