API Gateway Events
Explore how API Gateway integrates with AWS Lambda to handle HTTP requests by creating APIs and resources, passing parameters, and managing proxy integration. Understand the basics of API Gateway features relevant to serverless applications, including throttling, authentication, and request handling.
We'll cover the following...
This chapter explains how to create HTTP APIs and dynamic web pages using Lambda. You’ll also learn about customising API Gateway resources and how to pass parameters to CloudFormation templates.
So far, you’ve mostly looked into managing Lambda functions, but the sample project you deployed in Chapter 3 configured one more resource: the API Gateway. API Gateway is a service for publishing and managing REST and Websocket APIs.
You’re currently using it to just pass through requests from client browsers to a Lambda function, but it can do much more. API Gateway can throttle requests to prevent clients from overloading a back-end service, authenticate and authorise requests, enforce usage plans, and even transform or enrich incoming and outgoing payloads. ...