Run aws lambda triggers locally.
Support for
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
}
})
const loop = require('aws-lambda-local-dynamodb-trigger')
const { streams } = require('./dynamodb')
loop({
streamArn: 'x',
streams,
async trigger (event) {
// event.Records
}
})