s3-db
s3-db copied to clipboard
Triggers or Event Hooks
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.
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.
https://nodejs.org/api/events.html