Created
October 27, 2017 07:26
-
-
Save lakshmantgld/cf1ae0093ea56f7b1d499d56984ee733 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 ║ | |
╠══════════════════════════════════════════════════════╬═════════════════════════════════════════════════════════════════════════╣ | |
║ 1. Very Easy to setup. Status code and the response ║ 1. It completely decouples the APIGateway from Lambda's request ║ | |
║ message are in lambda's control. ║ and response payload, its headers and statusCodes. Thus, you ║ | |
║ ║ have more control over the workflow. ║ | |
║ ║ ║ | |
║ 2. Easy for rapid prototyping, as you don't want ║ 2. Provides a procedural way of defining various status codes and error ║ | |
║ to setup any APIGateway's settings. ║ messages. ║ | |
║ ║ ║ | |
║ ║ 3. The settings can be easily exported as Swagger specification, which ║ | |
║ ║ makes documentation and generation of SDK much easier. ║ | |
╚══════════════════════════════════════════════════════╩═════════════════════════════════════════════════════════════════════════╝ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment