{"id":"11c1d15a-9fa8-4dda-85ee-35cd2605949f","task":"Create EventBridge rules, archive events, and replay them","domain":"docs.aws.amazon.com","steps":["Create an EventBridge rule on a custom event bus with an event pattern (JSON filter) and one or more targets (Lambda, SQS, Step Functions, etc.)","Enable an archive on the event bus via the console or aws events create-archive, specifying a retention period and optional event pattern filter","To replay archived events, create a replay with aws events start-replay, specifying the source archive, time range, and a destination event bus","Use IAM roles with events:PutEvents permission for producers and appropriate target-side permissions for EventBridge to invoke targets","Test rules with the EventBridge console's sandbox feature or by sending test events via aws events put-events"],"gotchas":["EventBridge delivers events at least once; targets must be idempotent, especially when replaying archived events which can duplicate with live events","Archive replay sends events to the event bus, which triggers all matching live rules; if those rules have side effects, replay can cause unintended duplicate actions","EventBridge rule evaluation has a maximum number of active rules per event bus; check the current service quota before creating rules at scale"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:15.651Z"},"url":"https://mcp.waymark.network/r/11c1d15a-9fa8-4dda-85ee-35cd2605949f"}