Firing a trigger created in a lambda function when inserting documents in DynamoDB by means of a stream, using decorator for customized validations. And everything being made available through the Serverless Framework.
Technology | Prerequisites | Getting started | How to contribute | License
- AWS Lambda — Allows you to run code without provisioning or managing servers.
- AWS DynamoDB — Fully managed NoSQL database service that supports key-value data structures and documents.
- Serverless Framework — Gives you everything you need to develop, deploy, monitor and secure serverless applications on any cloud.
- Clone this repo
- Enter the folder
trigger-dynamodb
- Run
yarn
ornpm install
to install the dependencies - Run
sls deploy
orserverless deploy
to upload the lambda function to AWS - Run
invoke-insert
to perform a data entry function in DynamoDB - Run
logs-trigger
to view the trigger log
- Make a fork;
- Create a branck with your feature:
git checkout -b my-feature
; - Commit changes:
git commit -m 'feat: My new feature'
; - Make a push to your branch:
git push origin my-feature
.
After merging your receipt request to done, you can delete a branch from yours.
This project is under the MIT license. See the LICENSE for more information.
Made with by Roberto Sousa 👋 Get in touch!