I didn't want to start from scratch every time. This is a templated project that will let you get started quickly
Simple -- it copies your DDB Stream 'email' field to Slack. That's it. It assumes a lot and you will need to tweak it if you want to save anything but Strings, but it's easy to add that logic later on
These 2 Parameter Store variables need to exist in order for the Lambda function to function properly. The first specifies which DDB Stream to attach to and the second specifies which Slack endpoint to propagate the data to.
arn: ${ssm:/ccPreregisterTableStreamArn}
slackEndpoint: ${ssm:/ccPreregisterSlackEndpoint}
Yes. I'm using the Serverless framework to deploy the Lambda function to AWS and here's what you need to run:
./gradlew clean build && ./gradlew deploy
If the gradlew command fails you might need to run gradle wrapper
to create the appropriate gradle config dir.
Enjoy