Socket
Socket
Sign inDemoInstall

@barchart/aws-lambda-suppressor

Package Overview
Dependencies
232
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @barchart/aws-lambda-suppressor

Utilities for tracking and suppressing AWS Lambda invocations


Version published
Weekly downloads
35
decreased by-32.69%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@barchart/aws-lambda-suppressor

AWS CodeBuild

A public JavaScript utility for tracking and suppressing duplicate AWS Lambda invocations.

Operation

When a Lambda function at AWS is invoked, it's passed an event object. The event may contain a unique identifier.

If a unique identifier can be determined, the DynamoLambdaValidator will attempt to create a record in a DynamoDB table, using a conditional write. If the write fails, we know this event has already been processed and the Lambda function's processing should stop.

Usage

The DynamoLambdaValidator extends LambdaValidator -- a class from the @barchart/common-node-js library.

As a result, the DynamoLambdaValidator can be plugged into a LambdaHelper by overriding its getValidator function.

FAQs

Last updated on 09 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc