I will list and explain the general steps for developing DynamoDB operations from Lambda using the SDK in this section:
- Create a Maven project for the Lambda with the common parent and the DynamoDB Java SDK dependency
We follow the same project structure for all our Lambda projects:
In the POM file, define the parent project as serverless-cookbook-parent-aws-java. This parent project defines the common properties and inherits from another parent with basic Java project dependencies and configurations such as lombok, checkstyle configurations, and so on:
<parent> <groupId>tech.heartin.books.serverlesscookbook</groupId> <