Skip to content

Latest commit

 

History

History
 
 

README.md

This is a simple lambda function which write a record to Dynamodb. We use quarkus to compile the java lambda function to native image, and package the native image into custom runtime.

setup Dynamodb table

This lambda function needs a DynamoDB table named "Quotes" with "ID" as the hash key. Please create this dynamodb table first.

how to compile and deploy the lambda function

Make sure aws cli is configured properly and has enough privilege to create a lambda function.

Run script deploy.sh. It will use maven to build the native image, packaged custom runtime, and deploy the lambda function.