EventBridge Flashcards
EventBridge
Moving parts of EventBridge?
Busses have events. Rules listen to events, send to Targets.
EventBridge
Are CWE real-time?
No, near real-time only
EventBridge
What is the Venn diagram of CloudWatch Events and EventBridge?
EventBridge has everything that CloudWatch Events has, plus more
EventBridge
Highest level: what are the three sources of events for EB?
AWS services, 3rd party sources that call the API, cron-like schedules
EventBridge
What is the queue that all events ride on?
Default Event Bus
Rules and Targets
How many Targets can a Rule trigger?
Many
Rules and Targets
How does a Rule select events on an Event Bus?
Pattern-matching: matches parts of individual types and fields with boolean logic
Rules and Targets
How do you controls security on Event Busses?
Busses have Resource Policies: control what has access to what event streams
Rules and Targets
How can EventBridge run out of control?
A Target takes an action that re-fires the Rule that invoked the Target (infinite loop)
Rules and Targets
Predicates available for Rule pattern-matching?
Equals, exists, BeginsWith, EndsWithAND, OR, NOT, …
Rules and Targets
How do you send/receive events across AWS accounts?
Receiver account’s Bus resource policy grants sender account. Sender writes Rule with other bus as Target.
Rules and Targets
How do you send/receive events in another Region (same account)?
Similar to cross-account: Bus has Rule with other Bus as Target
Rules and Targets
What happens if a Rule can’t deliver an event to a Target?
Lost, unless you configure a DLQ to SQS