This talk gives a slight introduction to AWS Lambda, then moves into how to use the Serverless Framework to automate the creation of those Lambda functions and API Gateways.
This was a talk I gave at SyntaxCon 2017 in Charleston, South Carolina. Given how long ago that was, expect the Serverless Framework API to have shifted a little, I urge you to take a look at their documentation to get a more up-to-date version.
The talk can be found on YouTube here: https://www.youtube.com/watch?v=pnLxBSR8tD0
The slides can be found here: https://slides.com/ronakraithatha/serverless-framework