https://github.com/jameskirkby/serverless-dynamodb-triggers
https://github.com/jameskirkby/serverless-dynamodb-triggers
lambda serverless
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jameskirkby/serverless-dynamodb-triggers
- Owner: jameskirkby
- Created: 2017-10-11T11:46:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-16T21:52:32.000Z (over 4 years ago)
- Last Synced: 2024-01-09T18:13:32.920Z (over 2 years ago)
- Topics: lambda, serverless
- Language: JavaScript
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless DynamoDB to Lambda
Basic example of triggering another function when data is inserted/modified in a DynamoDB stream
### Prerequisites
You will need
* An AWS account
* An IAM account with DynamoDB stream privileges
* The AWS SDK installed on your local machine, configured to your IAM credentials
* serverless installed on your local machine
### Installation
1. Clone this repo
2. Update the values in `serverless.yml`
3. Deploy to AWS by running `serverless deploy`
4. You can view the logs in **AWS CloudWatch > Log Groups > /aws/lambda/serverless-dynamodb-triggers-prod-receiveOrder** and **AWS CloudWatch > Log Groups > /aws/lambda/serverless-dynamodb-triggers-prod-processOrder**