Sample Lambda development
For our sample Lambda function development, we will be using the RequestHandler
interface to process the incoming request and respond to the invoker. To begin the development, let’s create a Java Maven project:
- Open the VS Code Editor, click on Create Java Project, and select the Maven project type:
Figure 12.4 – Visual Studio Code Java project creation
- Select maven-archetype-quickstart and press Enter, and then choose the latest version, as shown in the following screenshot:
Figure 12.5 – Maven archetype selection
- Provide the Maven artifact group ID as
com.packt.aws.book.pipeline
and press Enter:
Figure 12.6 – Maven group ID
- Provide a name for the project,
aws-lambda-pipeline
, and press Enter:
Figure 12.7 – Maven artifact ID
- Select a destination location on your...