AWS Lambda Java Support Libraries
Interface definitions for Java code running on the AWS Lambda platform.
For issues and questions, you can start with our FAQ and the AWS forums
To get started writing AWS Lambda functions in Java, check out the official documentation.
Disclaimer of use
Each of the supplied packages should be used without modification. Removing dependencies, adding conflicting dependencies, or selectively including classes from the packages can result in unexpected behavior.
Release Notes
Check out the per-module release notes:
- aws-lambda-java-core
- aws-lambda-java-events
- aws-lambda-java-events-sdk-transformer
- aws-lambda-java-log4j2
Where to get packages
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-core</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-events</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-events-sdk-transformer</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-log4j2</artifactId>
<version>1.2.0</version>
</dependency>
'com.amazonaws:aws-lambda-java-core:1.2.1'
'com.amazonaws:aws-lambda-java-events:3.4.0'
'com.amazonaws:aws-lambda-java-events-sdk-transformer:2.0.6'
'com.amazonaws:aws-lambda-java-log4j2:1.2.0'
[com.amazonaws/aws-lambda-java-core "1.2.1"]
[com.amazonaws/aws-lambda-java-events "3.4.0"]
[com.amazonaws/aws-lambda-java-events-sdk-transformer "2.0.6"]
[com.amazonaws/aws-lambda-java-log4j2 "1.2.0"]
"com.amazonaws" % "aws-lambda-java-core" % "1.2.1"
"com.amazonaws" % "aws-lambda-java-events" % "3.4.0"
"com.amazonaws" % "aws-lambda-java-events-sdk-transformer" % "2.0.6"
"com.amazonaws" % "aws-lambda-java-log4j2" % "1.2.0"
Using aws-lambda-java-core
This package defines the Lambda Context object as well as interfaces that Lambda accepts.
Using aws-lambda-java-events
This package defines event sources that AWS Lambda natively accepts. See the documentation for more information.
Using aws-lambda-java-events-sdk-transformer
This package provides helper classes/methods to use alongside aws-lambda-java-events
in order to transform Lambda input event model objects into SDK-compatible output model objects.
See the documentation for more information.
Using aws-lambda-java-log4j2
This package defines the Lambda adapter to use with log4j version 2. See the README or the official documentation for information on how to use the adapter.