Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for AWS RDS Database Authentication IAM Policy
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[DB_RESOURCE_ID] - ✦
[DB_USER] - ✦
[REGION] - ✦
[ACCOUNT_ID]
advanced-ai-prompt-rds-iam-auth.txt
Create an IAM policy that enables RDS IAM Database Authentication for the user [DB_USER]. The resource ARN should be strictly formatted as 'arn:aws:rds-db:[REGION]:[ACCOUNT_ID]:dbuser:[DB_RESOURCE_ID]/[DB_USER]'. Do not use wildcards in the resource string. Explain how this policy integrates with the database-level user permissions.
Example Output
"The AI generates a policy with the 'rds-db:connect' action and a specific resource ARN for granular database access."