Thank you for your comment Sheen!

You made a good point. You cannot control where your DDB stream events end up - every lambda that is connected to the stream will be woken on event arrival.

Either the lambdas then have to filter events based on the key prefix or you could forward the DDB events e.g. to EventBridge and then use the routing and filtering options from EventBridge.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store