Show Menu
Cheatography

API Gateway Cheat Sheet (DRAFT) by

API Gateway cheat sheet

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Purpose

Create, publish, maintain, monitor, secure REST, HTTP and WebSocket APIs
RESTful APIs: HTTP based, stateless client­-server comm.
Implement GET, POST, PUT, PATCH, DELETE

Extras

Stage variables
Enviro­nment variables (for function calls, endpoi­nts...)
Mapping templates
modify reques­t/r­esp­onses
Lambda Authorizer
Use AWS Lambda to validate the token in the header being passed
Supports Swagge­r/O­penAPI
Import config­ura­tions from there
Pay-pe­r-use
Pay when API is being used
 

Features

Supports authen­tic­ation, concur­rency, security
Enviro­nments, deploy­ments, stages, caching API results
Mock integr­ation to mock API responses for tests
 

Limits

Lambda execution must be under 29 seconds otherwise failure