Multiple handlers per function

AWS only allows you to define one handler per Lambda function. To implement the services pattern you need to implement a router inside your handler. If you want to see how I’m doing it I’ve written a blog post about Routing API Gateway Traffic Through One Lamda Function with example code.

2 Likes