aws-lambda-local-sqs-trigger

1.0.3 • Public • Published

aws-lambda-local-sqs-trigger

js-standard-style build status downloads Greenkeeper badge

run an aws lambda trigger for sqs locally.

usage

const loop = require('aws-lambda-local-sqs-trigger')
const sqs = require('./sqs')
 
loop({
  queueUrl: 'http://localhost:9324/queue/test',
  sqs,
  async trigger (event) {
    // event.Records
  }
})

license

Apache License, Version 2.0

Package Sidebar

Install

npm i aws-lambda-local-sqs-trigger

Weekly Downloads

44

Version

1.0.3

License

Apache-2.0

Unpacked Size

2.8 kB

Total Files

3

Last publish

Collaborators

  • jameskyburz