Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: lambda-event-mock
node v18.11.0
endpoint
share
tweet
const lambdaEventMock = require('lambda-event-mock'); const myMock = lambdaEventMock .sqs() .messageId('some-id') .receiptHandle('some-id') .eventSourceARN('some-arn') .body('body of sqs paylaod') .build(); console.log((myMock));
Created from: https://npm.runkit.com/lambda-event-mock
Loading…
Clone and edit this document