About creating-api-gateway-stage
A domain skill for teams creating and configuring Amazon API Gateway stages. It covers logging, monitoring, security, and throttling controls, including CloudWatch, X-Ray, WAF, and authorization.
Key features
- 01Configure CloudWatch logging
- 02Set up X-Ray tracing
- 03Associate a WAF web ACL
- 04Configure method-level settings
- 05Set authorization and throttling
Use cases
- 01Enable logging and monitoring for an API stage
- 02Associate a WAF web ACL with a stage
- 03Configure method-level throttling and authorization
- 04Investigate missing logs or WAF false positives
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ aws/ agent-toolkit-for-aws --skill creating-api-gateway-stageAfter installing, type/creating-api-gateway-stagein Claude Code to confirm it loaded.
Bundled filesreferences/create-api-gateway-stage.md
Details
From the project READMECreating 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.