s3-db icon indicating copy to clipboard operation
s3-db copied to clipboard

Triggers or Event Hooks

Open matt-filion opened this issue 8 years ago • 2 comments

Ability to execute code during a collection event. Ideally, its able to be configured to call a lambda event directly. This way a primitive method of a webhook can be fairly easily implemented.

matt-filion avatar May 01 '17 16:05 matt-filion

This would require an extra plugin to do lambda invocation. However, it might be interesting to allow hooks into the underbelly of an s3 collection. So before or after an event custom code could be engaged. Maybe for complex logic handling of serialization before saving. Or, announcing to SNS after an object is modified/saved/created/deleted to notify other systems of the objects change.

matt-filion avatar Mar 29 '19 21:03 matt-filion

https://nodejs.org/api/events.html

matt-filion avatar Apr 04 '19 17:04 matt-filion