Interview Prep/AWS/Multi-Account and Landing Zone

What are declarative policies in AWS Organizations?

AdvancedProductionMulti-Account and Landing Zone
Answer

Declarative policies enforce a desired service configuration at the org level instead of denying API calls. For EC2 you can enforce things like IMDSv2 by default, blocking public sharing of AMIs and EBS snapshots, disabling serial console access and allowing only approved AMI providers. The difference from an SCP: the setting is held by the service itself, so it still applies when the service adds new APIs, and users get a clear custom error message. We use them alongside SCPs, not as a replacement.

aws All AWS questions

More on Multi-Account and Landing Zone