API Gateway Events
Explore how to create and manage HTTP APIs using API Gateway with AWS Lambda. Understand configuring resources, passing parameters, and using Lambda Proxy integration to effectively handle web requests in serverless applications.
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 ...