by johansch · 8y ago · 0 comments
AWS Lambda just seemed like too much bureaucratic busywork for no good reason (ugh API Gateway...), last time I tried it out.
I guess it maybe appeals to "enterprise" type developers? Maybe it this way cause Werner Vogels is german and from an academic background? :-) I'm adventurous, because I write this knowing that even referring to national characteristics results in instant down votes here.
Just give me an endpoint where I can respond to HTTP requests and parse the URL path/parameters myself, thank you. That way I can keep it as simple or as complex as is needed, per situation. I just don't want to bother with your insanely over-engineered API of definining custom API requests.
This would be "lambda proxy"with api gateway. Happy to post code samples or whatever.
You can also specify via slightly watered down regex what controller is called, and even do "nothing matched go here"configuration
it's clunky, it needs work, but it's been great for crud or utility stuff