Skip to content

Tutorial project for using Java with AWS Lambda, including CDK and Serverless.com for deployment

Notifications You must be signed in to change notification settings

hermanlintvelt/aws-java-serverless

Repository files navigation

Using Java with AWS Serverless

Java is indeed a first-class citizen of the AWS world. With the Snapstart feature recently released by AWS (to address cold-start concerns), as well as support for Java 17 runtime for AWS Lambdas, we can use a powerful language to implement our serverless functions.

In this tutorial we will look at using the following technologies:

AWS SDK for Java 1.x

This tutorial repo started by using AWS SDK for Java v1 - you can still get hold of it in the aws-sdk-1 directory.

See the AWS-SDK-1 folder.

AWS SDK for Java 2.x

This is a major rewrite of the 1.x SDK for Java. See the AWS docs for more information about this version.

See the AWS-SDK-2 folder for a tutorial on using the 2.x sdk.

AWS CDK for Java

The section on using Java for CDK is still very much work in progress, but should give some guidance already for using Java and CDK to deploy Lambda functions, API Gateway endpoints, and even setting up a AWS CodePipeline to trigger deployments from Github commits.

About

Tutorial project for using Java with AWS Lambda, including CDK and Serverless.com for deployment

Topics

Resources

Stars

Watchers

Forks