add a dynamodb event class (as mentioned in https://aws.amazon.com/blogs/aws/aws-lambda-update-run-java-code-in-response-to-events/)