QuestionQ83

VerifiedSecurity Foundations and Governance

A company uses AWS Organizations with the default SCP. It must restrict AWS usage for every AWS account in a specific OU.

Other than certain required global services, AWS usage for all accounts in the OU must occur only in the eu-west-1 Region. A security engineer must create an SCP that enforces this restriction for existing accounts and for any new accounts in the OU.

Which SCP meets these requirements?

Explanation

An OU-level SCP with an explicit Deny, NotAction exemptions for the desired global services, and StringNotEquals on aws:RequestedRegion denies nonexempt actions whenever the requested Region is not eu-west-1. The global-service actions remain exempt, while the inherited default SCP continues to allow permissions that are not explicitly denied. AWS documents this exact deny-with-NotAction and aws:RequestedRegion pattern for limiting affected accounts to an allowed Region.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!