Gathering detailed insights and metrics for serverless-offline-sqs-external
Gathering detailed insights and metrics for serverless-offline-sqs-external
Gathering detailed insights and metrics for serverless-offline-sqs-external
Gathering detailed insights and metrics for serverless-offline-sqs-external
Serverless offline sqs plugins for external services such as localstack
npm install serverless-offline-sqs-external
Typescript
Module System
Node Version
NPM Version
JavaScript (65.73%)
Shell (34.27%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
6 Stars
5 Commits
4 Forks
1 Watchers
1 Branches
2 Contributors
Updated on Dec 30, 2024
Latest Version
1.0.6
Package Id
serverless-offline-sqs-external@1.0.6
Unpacked Size
15.66 kB
Size
4.79 kB
File Count
4
NPM Version
6.13.4
Node Version
12.16.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
22
This Serverless-offline plugin emulates AWS λ and SQS queue on your local machine. To do so, it listens SQS queue and invokes your handlers.
Features:
First, add serverless-offline-sqs-external
to your project:
1npm install serverless-offline-sqs-external
Then inside your project's serverless.yml
file, add following entry to the plugins section before serverless-offline
(and after serverless-webpack
if presents): serverless-offline-sqs-external
.
1plugins: 2 - serverless-webpack 3 - serverless-offline-sqs-external 4 - serverless-offline
This plugin listens to sqs event and invoke offline function to process event.
The configuration of function of the plugin follows the serverless documentation.
1functions: 2 mySQSHandler: 3 handler: handler.compute 4 events: 5 - sqs: arn:aws:sqs:region:XXXXXX:MyFirstQueue 6 - sqs: 7 arn: arn:aws:sqs:region:XXXXXX:MySecondQueue 8 - sqs: 9 queueName: MyThirdQueue 10 arn: 11 Fn::GetAtt: 12 - MyThirdQueue 13 - Arn 14 - sqs: 15 arn: 16 Fn::GetAtt: 17 - MyFourthQueue 18 - Arn 19 - sqs: 20 arn: 21 Fn::GetAtt: 22 - MyFifthQueue 23 - Arn 24resources: 25 Resources: 26 MyFourthQueue: 27 Type: AWS::SQS::Queue 28 Properties: 29 QueueName: MyFourthQueue 30 31 MyFifthQueue: # Support for Fifo queue creation starts from 3.1 only 32 Type: AWS::SQS::Queue 33 Properties: 34 QueueName: MyFifthQueue.fifo 35 FifoQueue: true 36 ContentBasedDeduplication: true
The configuration of aws.SQS
's client of the plugin is done by defining a custom: serverless-offline-sqs-external
object in your serverless.yml
with your specific configuration.
You could use ElasticMQ with the following configuration:
1custom: 2 serverless-offline-sqs-external: 3 autoCreate: true # create queue if not exists 4 apiVersion: '2012-11-05' 5 host: localhost 6 port: 9324 7 https: false # default false 8 region: eu-west-1 9 accessKeyId: root 10 secretAccessKey: root 11 skipCacheInvalidation: false
1custom: 2 serverless-offline-sqs-external: 3 autoCreate: true # create queue if not exists 4 apiVersion: '2012-11-05' 5 endpoint: 'http://localhost:9324' 6 region: eu-west-1 7 accessKeyId: root 8 secretAccessKey: root 9 skipCacheInvalidation: false
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 1/4 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More