When activivated by the Lambda function. It will reverse the given string.
mvn clean package
This will out put the file: target/sb-j17-0.0.1-SNAPSHOT-aws.jar
Create a Java 17 Lambda function and upload this JAR file, then set the Handler
to org.springframework.cloud.function.adapter.aws.FunctionInvoker::handleRequest
in the Runtime Settings
section.
Specify a string in the Event Json
section of the Test
tab of the lambda function, and press Test
.
You should see the given string reversed.