Skip to content

Streams

Streams

  • Everytime an Iteam changes in a table, change is recorded chronologically in a stream
  • 24 hour rolling window
  • Needs to be enabled on per table basis
  • Inserts, updates & deletes are recorded
  • Views can be configured for a stream which decide what is captured in a stream
  • 4 View types are
  • KEYS_ONLY (Partition Key & Sort Key of changed item)
  • NEW_IMAGE (Entire updated item)
  • OLD_IMAGE (Item before the change)
  • NEW_AND_OLD_IMAGES (Both pre and post item)

Triggers

  • Item change generates an event.Event contains data based on the view type
  • An action is performed in form of a Lambda function execution