Skip to content
Cloud Governance Tools

Block public sharing of EBS snapshots (declarative policy)

Block public sharing of EBS snapshots (declarative policy) is an AWS guardrail written in declarative policies. Sets Snapshot Block Public Access to block_new_sharing so new public sharing of EBS snapshots is blocked in the accounts in scope. AWS documents that the account status report shows the current status of the attributes a declarative policy supports for the accounts in scope.

More data exfiltration guardrails ยท About Declarative policies

{
  "ec2_attributes": {
    "snapshot_block_public_access": {
      "state": {
        "@@assign": "block_new_sharing"
      }
    }
  }
}
Blocks
Sets Snapshot Block Public Access to block_new_sharing so new public sharing of EBS snapshots is blocked in the accounts in scope.
Breaks
AWS documents that snapshots already publicly shared remain publicly available under block_new_sharing, and EnableSnapshotBlockPublicAccess and DisableSnapshotBlockPublicAccess cannot be used to change the enforced setting. (source)
Test before applying
As for every Declarative policies guardrail: how to test before enforcing
Mechanism
Declarative policies: The configuration of a supported AWS service attribute in the accounts, OUs or organization they are attached to, including actions by service-linked roles.
Taken from
provider documentation, provider documentation

What the source says

"snapshot_block_public_access: {" (read 10 Nov 2026).

On what it breaks: "Blocks new public sharing of snapshots. Snapshots that were already publicly shared remain publicly available."

Sources

  1. Block public sharing of EBS snapshots (declarative policy), read 10 Nov 2026
  2. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.