Storage :: Berlioz Documentation

Storage

Definition

kind: database
cluster: <cluster-name>
name: <database-name>
class: storage
subClass: storage

Consuming

Storage buckets can be consumed by services or lambdas.

consumes:
  - database: <database-name>
    actions:
      - subscribe
    subcriber: 
      event_type: finalize|delete|archive|metadataUpdate

Lambda Trigger

If Lambda consumes a Storage using subscribe action, it automatically sets up a trigger to call the function whenever the bucket is modified.