@barchart/aws-lambda-suppressor

1.2.6 • Public • Published

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

/@barchart/aws-lambda-suppressor/

    Package Sidebar

    Install

    npm i @barchart/aws-lambda-suppressor

    Weekly Downloads

    28

    Version

    1.2.6

    License

    MIT

    Unpacked Size

    11 kB

    Total Files

    6

    Last publish

    Collaborators

    • jmbaker
    • tomsisk
    • swiderberg
    • alena.labada
    • ebarchukov
    • avasilevich
    • ravish.brahmbhatt
    • ddotlic
    • eapikat
    • l-zhang
    • igor-losev
    • mark.kerman
    • borja.yanes
    • bryan.ingle