
Creating Api Gateway Stage
This handles the full setup of an API Gateway stage with all the production-ready bits you'd normally have to piece together from multiple AWS docs. It covers CloudWatch logging with proper IAM roles, X-Ray tracing, throttling limits, WAF integration, and method-level authorization configuration. You'd reach for this when promoting a REST API through dev, test, or prod environments and want everything configured correctly the first time. The troubleshooting section is helpful since CloudWatch logging permissions are easy to mess up. It follows AWS best practices, which means you won't have to refactor security or monitoring settings later when someone asks why there's no audit trail.
- skills.sh installs
- 6.7K
- GitHub stars
- 3.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aws/agent-toolkit-for-aws --skill creating-api-gateway-stage --agent claude-codeInstalls into .claude/skills of the current project.
Files
Creating an API Gateway Stage
Overview
Domain expertise for creating and configuring API Gateway stages with comprehensive logging, monitoring, security, and throttling controls. Covers CloudWatch logging setup, X-Ray tracing, WAF web ACL association, method-level configuration, and authorization options.
Create an API Gateway stage
To create a fully configured API Gateway stage with logging, throttling, WAF, and authorization, follow the procedure exactly. See API Gateway stage creation procedure.
Troubleshooting
CloudWatch logs not appearing
Verify the CloudWatch role permissions, log group existence, and that logging is enabled at both stage and method levels. See the full procedure for details.
Stage creation fails
Check REST API ID, deployment ID, IAM permissions, and stage naming conventions.
WAF blocking legitimate requests
Review WAF logs, adjust rules or add exceptions, and consider count mode for testing.
Sponsors
Details
- Repository
- github.com/aws/agent-toolkit-for-aws
- Categories
- Backend & APIs, Testing & QA, DevOps & CI/CD, AI & Agent Building, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from aws/agent-toolkit-for-aws
All 56- Setting Up Ec2 Instance Profiles6.6K
- Creating Production Vpc Multi Az6.6K
- Signing In To Aws6.6K
- Aws Transform6.5K
- Connecting Vpcs With Peering6.5K
- Enabling Lambda Vpc Internet Access6.5K
- Exporting Rds To S36.5K
- Setting Up Cloudtrail Multi Region6.5K
- Routing Traffic With Route53 And Cloudfront6.5K
- Creating Amazon Aurora Db Cluster With Instances6.4K
- Troubleshooting Efs6.3K
- Aws Lambda Durable Functions6.2K
- Aws Lambda Managed Instances6.2K
- Aws Cleanrooms6.1K
- Aws Lambda Microvms6.1K
- Amazon Aurora Postgresql6K
- Querying Aws S36K
- Amazon Opensearch Service6K
- Aws Blocks5.9K
- Querying Aws Cloudwatch5.9K
- Amazon Elasticache5.9K
- Amazon Aurora Mysql5.7K
- Managing Amazon Msk5.5K
- Developing Applications On Managed Service For Apache Flink5.4K