In the previous two recipes in this chapter, we created an API with mock integration. We also discussed REST principles, HTTP essentials, and the AWS CLI commands and CloudFormation template components used. In this recipe, we will integrate an API gateway API with Lambda. The API is similar to the previous one (with a path parameter), but we will use an AWS integration instead of mock integration.
Building your first API with Lambda integration
Getting ready
You need an active AWS account. You need to follow the section Getting started in the recipes Your first AWS Lambda and Your first Lambda with AWS CLI from Chapter 1, Getting Started with Serverless Computing on AWS, to set up Java, Maven, the parent project, serverless...