Lambda integration/ Lambda custom integration

In Lambda integration, there is flexibility to process the payload received by the API Gateway to be passed to the downstream Lambda function.

This approach is highly customizable at the API Gateway level using a Velocity Templating Language (VTL), which can be used to process the input payload before passing to the Lambda. This way, the Lambda function handler can be expected to receive any types as its input, as long as it can parse it properly.

The return value from the Lambda function also doesn't need to conform to any particular type as long as the API Gateway can translate this output into a type that is understandable by the upstream client. There is also an option for processing the response ...

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.