aws avatar

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-code

Installs 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
1wordpress avatarwp-rest-apiwordpress/agent-skillsUse when building, extending, or debugging WordPress REST API endpoints/routes: register_rest_route, WP_REST_Controller/controller classes, schema/argument vali6.3Kskills.sh installs
2mindrally avatardjango-rest-api-developmentmindrally/skillsComprehensive guidelines for building scalable Django REST APIs with proper architecture, authentication, and performance optimization.900skills.sh installs
3yoanbernabeu avatarsupabase-audit-auth-configyoanbernabeu/supabase-pentest-skillsAnalyze Supabase authentication configuration for security weaknesses and misconfigurations.576skills.sh installs
4yoanbernabeu avatarsupabase-audit-auth-usersyoanbernabeu/supabase-pentest-skillsTest for user enumeration vulnerabilities through various authentication endpoints.506skills.sh installs
5manutej avatarapi-gateway-patternsmanutej/luxor-claude-marketplaceComprehensive API gateway patterns skill covering Kong, routing, rate limiting, authentication, load balancing, traffic management, and production gateway archi482skills.sh installs
6jezweb avatarfirebase-authjezweb/claude-skillsBuild with Firebase Authentication - email/password, OAuth providers, phone auth, and custom tokens. Use when: setting up auth flows, implementing sign-in/sign-363skills.sh installs