Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@barchart/aws-lambda-suppressor

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@barchart/aws-lambda-suppressor

Utilities for tracking and suppressing AWS Lambda invocations

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 09 May 2020

Did you know?

Socket

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc