All services

Application Integration

Amazon API Gateway

Fully managed REST, HTTP and WebSocket APIs.

Official docs

Overview

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

  1. Console → API Gateway → Create HTTP API (cheaper) or REST API (more features).
  2. Define routes, integrations (Lambda proxy is most common) and stages (dev/stage/prod).
  3. 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/users

QA 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.