This is probably a silly question, as I am somewhat new to Serverless.
Is it possible to test/run an S3 bucket event triggered Serverless function locally? I get the impression offline is great for testing functions that handle web requests, but it would be very difficult to test a function that reacts to the placing of a file in an S3 bucket locally?
You can invoke any function locally with: sls invoke local -f myFunction -p path/to/data.json -l
or sls invoke local -f myFunction -d '{ myEvent:content }'