Creating Api Gateway Stage

by aws188af2f810ceNo license2.8K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Creates an API Gateway stage with CloudWatch logging, X-Ray tracing, throttling, WAF integration, and IAM roles following AWS best practices. Use when deploying a REST API to different environments such as dev, test, or production.

Instructions onlyDevOps & Cloud
AI-generated overview

Creates and configures AWS API Gateway stages with logging, tracing, throttling, WAF and IAM roles.

What it does
Provides domain guidance for creating an API Gateway stage with CloudWatch logging, X-Ray tracing, throttling, WAF web ACL association, method-level configuration and authorization options. It points to a reference procedure for the full creation steps and includes troubleshooting notes for missing logs, failed stage creation and WAF blocking legitimate requests.
When to use it
Use when deploying a REST API to different environments such as dev, test or production. Also useful when diagnosing stage-related issues like absent CloudWatch logs or WAF rules blocking valid traffic.
Requirements
Instructions only; no scripts are shipped. It references a model-readable procedure file. Working with AWS API Gateway, CloudWatch, X-Ray, WAF and IAM requires appropriate AWS credentials and permissions.

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 [blocked].

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 [blocked] 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.

Source and attribution

Source:aws/agent-toolkit-for-awsinskills/specialized-skills/serverless-skills/creating-api-gateway-stageat commit188af2f

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal