9.3.1 Deploying Functions to AWS Lambda
Read Micronaut Functions deployed in AWS Lambda guide for a step by step tutorial. |
For Java & Kotlin functions, support for AWS Lambda can be enabled by adding the function-aws
dependency to your classpath.
implementation("io.micronaut:micronaut-function-aws")
<dependency>
<groupId>io.micronaut</groupId>
<artifactId>micronaut-function-aws</artifactId>
</dependency>
For Groovy functions, the function-groovy
dependency is sufficient for AWS Lambda support.
implementation("io.micronaut:micronaut-function-groovy")
<dependency>
<groupId>io.micronaut</groupId>
<artifactId>micronaut-function-groovy</artifactId>
</dependency>