API Gateway
Solution Architect Associate
Developer Associate
- Fully managed service for publishing, managing and maintaining APIs
- Exposes HTTPS endpoints to define a RESTful API
- Define API, then Resource and Nested Resources
- Allows you to attach a Web Application Firewall to protect your endpoints (know for exam!!)
- You can enable API Caching in API Gateway to cache responses, reducing the number of calls to Lambda
- You can import APIs from Swagger/OpenAPI files as of 2018 (know this for exam!!)
- To turn on CORS, you do this at the API level under the top most resource (or any sub resources)
- To accept query string params, you need to enable them for each method that needs them
- You can add a body mapping template to help enable request validation for your API
- API Throttling (know this for exam!!)
- By default, the steady state request rate per second is 10,000
- The maximum number of concurrent requests is 5000. This is across ALL apis on your account
- If you go over these numbers, you’ll get an error code 429 (too many requests)
- You can lift throttling limits, but you’ll be charged more…
- You can use API Gateway as a SOAP service pass through