Creating a java REST application on AWS Lambda with a DynamoDB database

I created a sample java REST application which can be used to easily create an application with one or more REST endpoints and can be deployed, updated and removed to AWS Lambda and AWS Gateway with a single script.

The source code and scripts for an example using a ‘Jersey-style’ syntax can be found here (make sure to use the jersey branch):
https://github.com/robbertvdzon/aws-lambda-rest-example/tree/jersey

The source code and scripts for an example using a ‘Sparkjava-style’ syntax can be found here (make sure to use the sparkjava branch):
https://github.com/robbertvdzon/aws-lambda-rest-example/tree/sparkjava

The source code for using a dynamodb database (as an addition to the sparkjava sample) can be found here (make sure to use the dynamodb branch):
https://github.com/robbertvdzon/aws-lambda-rest-example/tree/dynamodb