January 2019
Intermediate to advanced
490 pages
15h 37m
English
The Maven pom.xml file of the project should also define the following dependency:
<dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-sqs</artifactId> <version>${aws.sdk.version}</version></dependency>
We can create a Java Lambda project with the following structure:

Note that we do not have request and response domain objects, as AWS will be invoking the Lambda and passing a predefined event object based on a trigger we configure.
SnsService.java is the interface for our service class. This is not a requirement—you can directly use the implementation class or even embed all logic within Lambda ...
Read now
Unlock full access