Skip to content

Instantly share code, notes, and snippets.

@lakshmantgld
Created October 27, 2017 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lakshmantgld/1baf1b48a1489561b0df12d79915a18b to your computer and use it in GitHub Desktop.
Save lakshmantgld/1baf1b48a1489561b0df12d79915a18b to your computer and use it in GitHub Desktop.
╔════════════════════════════════════════════════╦═══════════════════════════════════════════════════════╗
║ Lambda-Proxy ║ Lambda ║
╠════════════════════════════════════════════════╬═══════════════════════════════════════════════════════╣
║ 1. Prone to human errors, as status code ║ 1. Involves lot of work in setting up the integration ║
║ and response message will be in code. ║ request template, response template, status code ║
║ This is subjective, but a point to stay in ║ pattern. All these need some extra knowledge on ║
║ the dis-advantage. ║ VTL(Velocity Template Language) and JSON Path. ║
║ ║ ║
║ 2. Everything rests in the code. Headers, ║ ║
║ status codes, messages are hidden in the ║ ║
║ source code. Making it difficult to ║ ║
║ generate documentation. ║ ║
╚════════════════════════════════════════════════╩═══════════════════════════════════════════════════════╝
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment