Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for AWS Organizations Service Control Policy (SCP) Guardrails
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[DENIED_REGIONS] - ✦
[MANDATORY_TAG_KEY] - ✦
[OU_ID]
advanced-ai-prompt-aws-scp-guardrails.txt
Generate an AWS Organizations Service Control Policy (SCP) to be applied to [OU_ID]. The SCP must: 1. Deny any action in regions other than [DENIED_REGIONS]. 2. Prevent the deletion of EBS snapshots unless the user has a specific 'Admin' tag. 3. Enforce that no EC2 instances can be launched without a '[MANDATORY_TAG_KEY]' tag. Ensure the policy stays within the 5120-character limit for SCPs.
Example Output
"The AI provides a condensed JSON SCP that acts as a global guardrail for an entire Organizational Unit, restricting regions and enforcing tagging."