Skip to content
Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Adding standard files Mar 28, 2018
aws-lambda-java-core
aws-lambda-java-events
aws-lambda-java-log4j fix directory name from logj4 to log4j Mar 10, 2016
aws-lambda-java-log4j2 Fix the packages directive in the example config Jan 20, 2019
.gitignore GH-65 Fix "Paramters" typo Jan 2, 2019
CODE_OF_CONDUCT.md
CONTRIBUTING.md Adding standard files Mar 28, 2018
LICENSE Initial commit May 18, 2015
README.md

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.2.0</version>
</dependency>
<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-lambda-java-events</artifactId>
  <version>2.2.6</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.2.0'
'com.amazonaws:aws-lambda-java-events:2.2.6'
'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.2.0"]
[com.amazonaws/aws-lambda-java-events "2.2.6"]
[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.2.0"
"com.amazonaws" % "aws-lambda-java-events" % "2.2.6"
"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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.