Last active
August 19, 2019 22:14
-
-
Save lakshmantgld/ae02d3fbb504d212686431eb64f3b793 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
╔═════════════════════════════════════════════════════╦════════════════════════════════════════════════════════════╗ | |
║ Lambda-Proxy ║ Lambda ║ | |
╠═════════════════════════════════════════════════════╬════════════════════════════════════════════════════════════╣ | |
║ This is a simple, but powerful integration. All the ║ This is complex, but offers more control over transmission ║ | |
║ request to the APIGateway URL is forwarded ║ data. The request can be modified before it is ║ | |
║ straight to the Lambda and the response is sent ║ sent to lambda and the response can be modified ║ | |
║ from Lambda. i.e No modifications to the ║ after it is sent from lambda. This can be done by ║ | |
║ request(query params, body, variables) and ║ mapping templates which transforms the payload, as per ║ | |
║ response(status code, message) are done ║ the user customisations. API Gateway uses Velocity ║ | |
║ by the APIGateway. ║ Template Language (VTL) engine to process body ║ | |
║ ║ mapping templates for the integration request ║ | |
║ ║ and integration response. ║ | |
╚═════════════════════════════════════════════════════╩════════════════════════════════════════════════════════════╝ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment