/demo

Micronaut Demo Application

Primary LanguageKotlin

Micronaut 3.6.0 Documentation


Handler

AWS Lambda Handler

Handler: com.example.FunctionRequestHandler

Requisites

How to deploy

Generate the deployable artifact

./gradlew :app:shadowJar
./gradlew test

Deploy

The infra/cdk.json file tells the CDK Toolkit how to execute your app.

cd infra cdk synth - emits the synthesized CloudFormation template cdk deploy - deploy this stack to your default AWS account/region cd ..

Other useful commands:

cdk diff - compare deployed stack with current state cdk docs- open CDK documentation

Cleanup

cd infra
cdk destroy
cd ..

Feature github-workflow-ci documentation

Feature aws-lambda documentation

Feature dynamodb documentation

Feature aws-cdk documentation

Feature graphql documentation

Feature aws-v2-sdk documentation