Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7ba36ba Jul 9, 2018

README.md

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] (http://docs.aws.amazon.com/lambda/latest/dg/java-gs.html).

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.

Recent Updates!

Where to get packages


Maven

<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-lambda-java-core</artifactId>
  <version>1.1.0</version>
</dependency>
<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-lambda-java-events</artifactId>
  <version>2.2.2</version>
</dependency>
<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-lambda-java-log4j</artifactId>
  <version>1.0.0</version>
</dependency>
<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-lambda-java-log4j2</artifactId>
  <version>1.0.0</version>
</dependency>

Gradle

'com.amazonaws:aws-lambda-java-core:1.1.0'
'com.amazonaws:aws-lambda-java-events:2.2.2'
'com.amazonaws:aws-lambda-java-log4j:1.0.0'
'com.amazonaws:aws-lambda-java-log4j2:1.0.0'

Leiningen and Boot

[com.amazonaws/aws-lambda-java-core "1.1.0"]
[com.amazonaws/aws-lambda-java-events "2.2.2"]
[com.amazonaws/aws-lambda-java-log4j "1.0.0"]
[com.amazonaws/aws-lambda-java-log4j2 "1.0.0"]

sbt

"com.amazonaws" % "aws-lambda-java-core" % "1.1.0"
"com.amazonaws" % "aws-lambda-java-events" % "2.2.2"
"com.amazonaws" % "aws-lambda-java-log4j" % "1.0.0"
"com.amazonaws" % "aws-lambda-java-log4j2" % "1.0.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-log4j2

This package defines the Lambda adapter to use with log4j version 2. See documentation for how to use the adapter.

Using aws-lambda-java-log4j (Not recommended)

This package defines the Lambda adapter to use with log4j version 1. See the official documentation for how to use this adapter.