Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.83 KB

README.md

File metadata and controls

24 lines (15 loc) · 1.83 KB

@barchart/aws-lambda-suppressor

AWS CodeBuild NPM

A public JavaScript package for tracking and suppressing duplicate invocations of AWS Lambda Functions.

Workflow

  • Each Lambda invocation includes an event object.
  • Depending on the event source, a unique identifier can usually be extracted.
  • The DynamoMessageValidator saves these unique identifiers to DynamoDB (using a conditional writes).
  • Failure indicates another Lambda has already processed the same event and processing should be suppressed.

Usage

This package is typically used with a simple framework found in the @barchart/common-node-js library.

License

This software is provided under the MIT license.