Application Integration
Amazon API Gateway
Fully managed REST, HTTP and WebSocket APIs.
Official docsOverview
API Gateway fronts Lambda, HTTP backends and AWS services with auth, throttling, caching, request validation and stage management.
When to use it
- Expose Lambda functions as HTTPS endpoints
- Build serverless REST/GraphQL backends
- Mock APIs for QA before backend is ready
Setup
- Console → API Gateway → Create HTTP API (cheaper) or REST API (more features).
- Define routes, integrations (Lambda proxy is most common) and stages (dev/stage/prod).
- Add authorizers (JWT, Cognito, Lambda) and usage plans + API keys if needed.
How to use
Invoke
curl https://abc123.execute-api.us-east-1.amazonaws.com/prod/usersQA use cases
- Create mock integrations returning canned responses so frontend QA can proceed in parallel.
- Enable detailed CloudWatch access logs and validate request/response contracts in Postman/Newman.
