Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot on AWS Lambda example

The following repository contains an example of a Spring Boot 3 application that is running on AWS Lambda (Java 17). It leverages the new version of the Serverless Java Container library for compatibility between API Gateway events and Spring Boot 3.

Prerequisites

How to build, deploy & test the application

Ensure you are using Java 17 and build the application:

mvn clean package -f unicorn-store-spring/pom.xml
cp unicorn-store-spring/target/spring-boot-lambda.jar infrastructure/cdk/app

If you haven't used AWS CDK on your AWS account before run:

cdk bootstrap

Deploy the application via AWS CDK use:

./deploy.sh

After successful deployment you can use the following script to test the application:

./test-app.sh

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages