- stack - contains cdk-defined cloud infrastructure to work with the lambda
- lambda - contains the lambda function itself
Install docker, aws-cli, cdk, and sam.
./gradlew clean build
cd stack && cdk synth --no-staging
cd stack && sam local invoke KotlinFun --no-event -t cdk.out/Stack.template.json
gradle clean build
cd stack && cdk synth
cdk bootstrap
cdk deploy