Demo focus on Spring Boot AWS Lambda function Demo.
Once Application is build follow below steps to deploy on AWS Lambda
3 - Add entry class name (com.demo.AWSLambdaHandler). Note this is class is defined in our Spring Boot project
Note: Have defined OPEN for demo purpose only never define for PROD.
curl -X POST
https://b5hasx7xhj.execute-api.ap-south-1.amazonaws.com/default/spring-boot-aws-lambda
-H 'cache-control: no-cache'
-H 'content-type: text/plain'
-H 'postman-token: d27664ce-8113-2c50-92aa-39486b9ee66d'
-d Test