My first AWS lambda with Kotlin and Micronaut
- Kotlin Language
- Gradlew Shadow Plugin to collapse all dependencies and project code into a single Jar file
- Micronaut
- Spek for testing
- AppFunction is the entry point, it's implementing Function<HandlerInput, HandlerOutput>, this way the method apply will be invoked by Micronaut
- RequestHandler is using HandlerInput as input and HandlerOutput as output, both are dummy classes with a String inside
- Inside apply there is our "logic"
Here you can find the same lambda without Micronaut