Skip to content
Cloud Governance Tools

Restrict AWS Marketplace subscription changes

Restrict AWS Marketplace subscription changes is an AWS guardrail written in service control policies. Denies AWS Marketplace subscribe, unsubscribe and private marketplace changes unless the caller is the privileged role. What it breaks: teams cannot subscribe to or cancel Marketplace products on their own; the README says to restrict these changes to a privileged role.

More resource and cost guardrails ยท About Service control policies

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Deny",
      "Action": [
        "aws-marketplace:Subscribe",
        "aws-marketplace:Unsubscribe",
        "aws-marketplace:CreatePrivateMarketplace",
        "aws-marketplace:CreatePrivateMarketplaceRequests",
        "aws-marketplace:AssociateProductsWithPrivateMarketplace",
        "aws-marketplace:DisassociateProductsFromPrivateMarketplace",
        "aws-marketplace:UpdatePrivateMarketplaceSettings"
      ],
      "Resource": "*",
      "Condition": {
        "ArnNotLike": {
          "aws:PrincipalArn": "arn:aws:iam::${Account}:role/[PRIVILEGED_ROLE]"
        }
      }
    }
  ]
}
Blocks
Denies AWS Marketplace subscribe, unsubscribe and private marketplace changes unless the caller is the privileged role.
Breaks
Teams cannot subscribe to or cancel Marketplace products on their own; the README says to restrict these changes to a privileged role. (source)
Test before applying
As for every Service control policies guardrail: how to test before enforcing
Mechanism
Service control policies (SCPs): IAM users, IAM roles and the root user in member accounts; not the management account and not service-linked roles.
Taken from
open source set, MIT-0 (README states MIT-0; LICENSE file fetched, MIT-0 text, Copyright Amazon.com, Inc.): https://raw.githubusercontent.com/aws-samples/service-control-policy-examples/main/LICENSE

What the policy text names

It names 7 actions or patterns: aws-marketplace:Subscribe, aws-marketplace:Unsubscribe, aws-marketplace:CreatePrivateMarketplace, aws-marketplace:CreatePrivateMarketplaceRequests, aws-marketplace:AssociateProductsWithPrivateMarketplace, aws-marketplace:DisassociateProductsFromPrivateMarketplace, aws-marketplace:UpdatePrivateMarketplaceSettings. Its conditions test aws:PrincipalArn.

What the source says

aws-marketplace:Subscribe (read 10 Nov 2026).

On what it breaks: "Restrict AWS Marketplace product subscription changes to privileged role"

Sources

  1. Restrict AWS Marketplace subscription changes, read 10 Nov 2026
  2. What it breaks, read 10 Nov 2026
  3. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.