Explicit deny
Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.
An explicit deny is a statement with Effect set to Deny that matches a request. It overrides every allow in identity-based policies, resource-based policies, permissions boundaries, SCPs and RCPs. A request with no matching allow is denied implicitly. Only the explicit kind cannot be overridden by another policy.
All terms ยท Open the workbench
An example, sourced
AWS evaluation documentation says that when identity-based and resource-based policies are combined, an explicit deny in either of them overrides the allow, and the same applies to deny statements in permissions boundaries, SCPs and RCPs.
Why it matters here
Reading a policy for what it allows is half of the job. A deny elsewhere can remove an allow, and a Deny written on a key that can be absent may not apply.
Related pages
Sources
- https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html, read 16 Nov 2026
Last reviewed 16 Nov 2026.