Serverless service to showcase DynamoDB stream support.
Make sure that you use Serverless v1.
- Run
serverless install --url https://github.com/pmuens/serverless-dynamodb-streams
to install the service in your current working directory - Next up cd into the service with
cd serverless-dynamodb-streams
- Run
npm install
- Create a new DynamoDB table called
users
with a primary partition key calledid
and enable stream support for this table - Update the stream ARN property in the
serverless.yml
file with the stream ARN of yourusers
table - Deploy with
serverless deploy
- Run
serverless invoke --function updateProfile --path event.json
to simulate a profile update process - Run
serverless logs --function logger
to see the which data has changed in theusers
table
- Lambda
- DynamoDB