/trigger-dynamodb

Firing a trigger created in a lambda function when inserting documents in DynamoDB, using decorator for customized validations. And everything being made available through the Serverless Framework.

Primary LanguageJavaScriptMIT LicenseMIT

Trigger in DynamoDB

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.

GitHub top language GitHub language count GitHub last commit Repository issues

Technology   |    Prerequisites   |    Getting started   |    How to contribute   |    License

🚀 Technology

  • 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.

☑️ Prerequisites

🆙 Getting started

  • Clone this repo
  • Enter the folder trigger-dynamodb
  • Run yarn or npm install to install the dependencies
  • Run sls deploy or serverless 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

✏️ How to contribute

  • 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.

📝 License

This project is under the MIT license. See the LICENSE for more information.


Made with by Roberto Sousa 👋 Get in touch!