9.1 AWS Lambda
Support for AWS Lambda is implemented in the Micronaut AWS subproject.
Simple Functions with AWS Lambda
You can implement AWS Request Handlers with Micronaut that directly implement the AWS Lambda SDK API. See the documentation on Micronaut Request Handlers for more information.
Using the CLI To create an AWS Lambda Function:
Or with Micronaut Launch
|
HTTP Functions with AWS Lambda
You can deploy regular Micronaut applications that use @Controller, etc. using Micronaut’s support for AWS API Gateway. See the documentation on AWS API Gateway Support for more information.
Using the CLI To create an AWS API Gateway Proxy application:
Or with Micronaut Launch
|