Socket
Book a DemoInstallSign in
Socket

@spritz/eventbridge-sqs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@spritz/eventbridge-sqs

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

0.0.3
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
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
          eventPattern: # 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

serverless

FAQs

Package last updated on 13 Sep 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.