AWS IAM Policy Generator
$1.99 • Intermediate
AWS IAM Policy Generator
Generate a least-privilege AWS IAM policy JSON for any service, role, or user scenario.
Prompt Preview
You are an AWS IAM security engineer. Generate a least-privilege IAM policy JSON document for the role described below. **Role Details:** - Role Purpose: [ROLE_PURPOSE — e.g., Lambda function reading from S3 and writing to DynamoDB] - AWS Services Accessed: [SERVICES — list each service and the actions needed] - Resource Scope: [RESOURCE_SCOPE — specific ARNs or wildcard with justification] - Environment: [ENVIRONMENT — dev, staging, or production]
Purchase to unlock the full prompt
Example Output
**Example Input:** Role: Lambda reading objects from specific S3 bucket and writing items to DynamoDB table, Environment: production **Example Output:** { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Action": ["s3:GetObject"], "Resource": "arn:aws:s3:::my-prod-bucket/*" }, { "Effect": "Allow", "Action": ["dynamodb:PutItem", "dynamodb:UpdateItem"], "Resource": "arn:aws:dynamodb:us-east-1:123456789:table/my-prod-table" }] }...
One-time purchase
Instant access. Added to your workspace automatically.
All individual prompts are included with Creator & Pro plans.
View Plans →What You Get After Purchase
Complete Prompt Text
Ready to copy and paste into any AI
Remix & Customize
Modify with AI to fit your needs
Saved to Workspace
Access anytime from your dashboard
Example Output
See what results to expect
One-Time Purchase
Pay once, unlimited ongoing access
Created by
1 total sales
Official prompts curated by the GreatPrompts.ai team.
Related Prompt Packs
Curated packs related to DevOps
DevOps & Cloud Infrastructure Prompts
Automate deployments with CI/CD pipelines, Kubernetes configs, Terraform blueprints, and SRE runbooks.
Programming — Pack 1
Write cleaner code with senior-level code reviews, refactoring guides, unit tests, and security audits.
Programming — Pack 2
Debug faster with expert prompts for error messages, stack traces, memory leaks, and async issues.
Programming — Pack 3
Architect better systems and write clear documentation with prompts for schemas, APIs, CI/CD, and READMEs.
