Lambda
- Runtimes
- Synchronous and asynchronous triggers
- Building well-architected serverless applications blog series
- Serverless Reference Architectures
- Lambda@Edge allows running Lambdas,
- Viewer request: before hitting CloudFront cache
- Authentication, check URL/cookie, etc.
- Origin request: after cache but before forwarding to origin
- On cache miss. Dynamically select origin based on request headers, etc.
- Origin response: after receiving request from origin
- Modify response headers, intercept/replace 4XX/5XX errors from origin, etc.
- Viewer response: after cache
- Modify response headers before caching, etc.
- Viewer request: before hitting CloudFront cache