Serverless service to showcase DynamoDB stream support.
Make sure that you use Serverless v1.
- Run
serverless install --url https://github.com/pmuens/serverless-dynamodb-streamsto 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
userswith a primary partition key calledidand enable stream support for this table - Update the stream ARN property in the
serverless.ymlfile with the stream ARN of youruserstable - Deploy with
serverless deploy
- Run
serverless invoke --function updateProfile --path event.jsonto simulate a profile update process - Run
serverless logs --function loggerto see the which data has changed in theuserstable
- Lambda
- DynamoDB