creating-api-gateway-stage
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCreating an API Gateway Stage
创建API Gateway阶段
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.
本内容涵盖创建和配置具备全面日志、监控、安全和限流控制的API Gateway阶段的领域专业知识。包括CloudWatch日志设置、X-Ray追踪、WAF Web ACL关联、方法级配置以及授权选项。
Create an API Gateway stage
创建API Gateway阶段
To create a fully configured API Gateway stage with logging, throttling, WAF, and
authorization, follow the procedure exactly.
See API Gateway stage creation procedure.
要创建一个配置齐全的、带有日志、限流、WAF和授权功能的API Gateway阶段,请严格遵循以下步骤。详情请参阅API Gateway阶段创建流程。
Troubleshooting
故障排查
CloudWatch logs not appearing
CloudWatch日志未显示
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.
验证CloudWatch角色权限、日志组是否存在,以及是否在阶段和方法级别均启用了日志记录。详情请参阅完整流程。
Stage creation fails
阶段创建失败
Check REST API ID, deployment ID, IAM permissions, and stage naming conventions.
检查REST API ID、部署ID、IAM权限以及阶段命名规范。
WAF blocking legitimate requests
WAF拦截合法请求
Review WAF logs, adjust rules or add exceptions, and consider count mode for testing.
查看WAF日志,调整规则或添加例外,并考虑在测试时使用计数模式。