An EventBridge rule should match application events from source shop.orders whose detail.status is failed. Which implementation best meets the requirement?

Published
  1. Use a schedule expression and assume it reads every event payload for the desired status.
  2. Define an event pattern matching the source and nested detail.status fields, and test it with representative events.
  3. Set only the rule display name to failed and assume it filters payloads.
  4. Match status at the event root even though the producer places it under detail.

Comments — 0