Block public sharing of EBS snapshots (declarative policy)
Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.
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."
Related guardrails
- Storage SAS tokens should adhere to 7 day maximum validityAzure, Azure Policy (built-in definitions), data exfiltration
- Domain restricted sharingGoogle Cloud, Organization Policy Service (managed and legacy constraints), data exfiltration
- Service perimeter around managed servicesGoogle Cloud, VPC Service Controls (service perimeters), data exfiltration
- Deny AWS RAM sharing with external accountsAWS, Service control policies (SCPs), data exfiltration
Related pages
Sources
- Block public sharing of EBS snapshots (declarative policy), read 10 Nov 2026
- How to test it first, read 10 Nov 2026
Last reviewed 16 Nov 2026.