Is it possible to trigger my function with SQS?
Or only HTTP.
Only HTTP for now :) I'm not sure how to implement it using SQS since it is an AWS service by itself. How would you call a lambda function in SQS ?
I imagined something like this: https://github.com/mj1618/serverless-offline-sns
Would it not be possible to send a simulated SQS event in JSON over HTTP and have serverless-offline pass them unchanged to the function instead of formatting them as API Gateway requests? Maybe via a custom header, or based on the function's events configuration in serverless.yml?
Most helpful comment
I imagined something like this: https://github.com/mj1618/serverless-offline-sns