# Restrict AWS Marketplace subscription changes

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

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.

```json
{
  "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](https://raw.githubusercontent.com/aws-samples/service-control-policy-examples/main/Protect-cloud-platform-resource/README.md))
- **Test before applying:** As for every Service control policies guardrail: [how to test before enforcing](/mechanisms/scp/)
- **Mechanism:** [Service control policies (SCPs)](/mechanisms/scp/): 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](https://raw.githubusercontent.com/aws-samples/service-control-policy-examples/main/Protect-cloud-platform-resource/Deny-unwanted-cancellation-or-changes-to-AWS-Marketplace-product-subscription.json), 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"

## Related guardrails

- [Allowed resource types](/guardrails/azure-policy-allowed-resource-types/): Azure, Azure Policy (built-in definitions), resource and cost
- [Not allowed resource types](/guardrails/azure-policy-not-allowed-resource-types/): Azure, Azure Policy (built-in definitions), resource and cost
- [Allowed virtual machine size SKUs](/guardrails/azure-policy-allowed-vm-sizes/): Azure, Azure Policy (built-in definitions), resource and cost
- [Restrict EC2 launches to approved instance types](/guardrails/aws-scp-restrict-ec2-instance-types/): AWS, Service control policies (SCPs), resource and cost

## Related pages

- [Deny disabling block public access for AMIs (AWS Service control policies)](/guardrails/aws-scp-deny-disable-ami-block-public-access/)
- [Deny AWS RAM sharing with external accounts (AWS Service control policies)](/guardrails/aws-scp-deny-ram-external-sharing/)
- [Require IAM authentication on Lambda function URLs (AWS Service control policies)](/guardrails/aws-scp-require-lambda-url-iam-auth/)

## Sources

- Restrict AWS Marketplace subscription changes: https://raw.githubusercontent.com/aws-samples/service-control-policy-examples/main/Protect-cloud-platform-resource/Deny-unwanted-cancellation-or-changes-to-AWS-Marketplace-product-subscription.json (read 10 Nov 2026)
- What it breaks: https://raw.githubusercontent.com/aws-samples/service-control-policy-examples/main/Protect-cloud-platform-resource/README.md (read 10 Nov 2026)
- How to test it first: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudgovernancetools.com/guardrails/aws-scp-restrict-marketplace-subscriptions/
