connecting-lambda-to-api-gateway
Pass
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- Infrastructure Management via Command Execution: The skill utilizes AWS CLI commands to automate the creation and configuration of cloud resources. This execution is scoped to the specific task of connecting API Gateway to Lambda.
- Security Best Practice Integration: The procedure includes built-in warnings and configuration steps for essential security controls, such as IAM authorization, API keys, and request throttling to prevent unauthorized access.
- Least-Privilege Resource Policies: The skill guides the agent in adding granular permissions to the Lambda function, ensuring only the intended API Gateway resource can trigger the function execution.
- Input Validation Guidance: Instructions are provided to ensure the Lambda function adheres to the standard proxy integration response format, reducing the likelihood of unexpected runtime errors.
Audit Metadata