You can use the aws-serverless-java-container library to run a Spring Boot application in AWS Lambda. You can use the library within your Lambda handler to load your Spring Boot application and proxy events to it. In the repository we have included a sample Spring Boot application to get you started.
https://github.com/awslabs/aws-serverless-java-container/wiki/Quick-start---Spring-Boot