AWS Lambda Java Runtime

AWS Lambda custom runtime in Java

License

License

Categories

Categories

Java Languages AWS Container PaaS Providers AWS Lambda
GroupId

GroupId

io.redskap
ArtifactId

ArtifactId

aws-lambda-java-runtime
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

AWS Lambda Java Runtime
AWS Lambda custom runtime in Java
Project URL

Project URL

https://github.com/redskap/aws-lambda-java-runtime
Source Code Management

Source Code Management

https://github.com/redskap/aws-lambda-java-runtime

Download aws-lambda-java-runtime

How to add to project

<!-- https://jarcasting.com/artifacts/io.redskap/aws-lambda-java-runtime/ -->
<dependency>
    <groupId>io.redskap</groupId>
    <artifactId>aws-lambda-java-runtime</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.redskap/aws-lambda-java-runtime/
implementation 'io.redskap:aws-lambda-java-runtime:0.0.1'
// https://jarcasting.com/artifacts/io.redskap/aws-lambda-java-runtime/
implementation ("io.redskap:aws-lambda-java-runtime:0.0.1")
'io.redskap:aws-lambda-java-runtime:jar:0.0.1'
<dependency org="io.redskap" name="aws-lambda-java-runtime" rev="0.0.1">
  <artifact name="aws-lambda-java-runtime" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.redskap', module='aws-lambda-java-runtime', version='0.0.1')
)
libraryDependencies += "io.redskap" % "aws-lambda-java-runtime" % "0.0.1"
[io.redskap/aws-lambda-java-runtime "0.0.1"]

Dependencies

compile (3)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.8.6
com.amazonaws : aws-lambda-java-core jar 1.2.1
com.amazonaws : aws-lambda-java-events jar 3.8.0

test (1)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.3.1

Project Modules

There are no modules declared in this project.

AWS Lambda Java Runtime

The library has been created to have a production ready implementation of the AWS Lambda Runtime API in Java, and to use it as a foundation for creating GraalVM native images.

The corresponding article can be found on my blog.

The full documentation can be found here.

Samples

There are 2 sample applications available at the moment:

  • Simple lambda function with returning the request body in the response (samples/aws-lambda-java-native)
  • Lambda function with writing into DynamoDB (samples/aws-lambda-java-dynamodb-native)

Building the runtime

$ ./gradlew clean build

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
io.redskap

redskap.io

Versions

Version
0.0.1