New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@spritz-finance/eventbridge-sqs

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spritz-finance/eventbridge-sqs

serverless plugin to make serverless-eventbridge-sqs-lambda events

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

Serverless Eventbridge Sqs Lambda

This is a servless plugin which allows you to subscribe a lambda to an SQS queue which is driven by an EventBridge event

Table of Contents

  • Install
  • Setup

Install

Run npm install in your Serverless project.

$ npm install --save-dev @spritz/eventbridge-sqs

Add the plugin to your serverless.yml file

plugins:
  - "@spritz/eventbridge-sqs"

Setup

Provide the lambda function with the eventBridgeSqs event

functions:
  processEvent:
    handler: handler.handler
    events:
      - eventBridgeSqs:
          eventBus: MyEventBusARN # Optional - by default will listen to the default bus
          pattern: # Optional - by default will listen to all events
            detail-type:
              - user.login
          batchSize: 1 # optional - default value is 1
          visibilityTimeout: 120 # optional (in seconds) - AWS default is 30 secs

plugins:
  - "@spritz/eventbridge-sqs"

Keywords

FAQs

Package last updated on 02 Oct 2023

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