We will create our Lambda, similar to in the Your First AWS Lambda recipe, but using POJOs for input and output. We will not go deep into concepts discussed previously. If in doubt, please refer to the Your First AWS Lambda recipe.
- Create the Maven project with only the core dependency, aws-lambda-java-core:
<groupId>tech.heartin.books.serverless-cookbook</groupId><artifactId>lambda-handler-with-pojos</artifactId><version>0.0.1-SNAPSHOT</version><parent> <groupId>tech.heartin.books.serverlesscookbook</groupId> <artifactId>serverless-cookbook-parent-aws-java</artifactId> <version>0.0.1-SNAPSHOT</version></parent><dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-lambda-java-core</artifactId> <version> ...