Frank
sst.Bucket
send a notification directly to an sst.Queue
or sst.Topic
when a file is upload/removed. It’s as simple as:
const myQueue = new Queue(this, "MyQueue");
new Bucket(this, "Bucket", {
notifications: [myQueue],
});
More examples here - https://docs.serverless-stack.com/constructs/Bucket#examplesGuy Shechter
07/20/2021, 7:29 PM