AWS EventBridge viewer
mnml-aws-eventbridge is a terminal browser for AWS EventBridge — list event buses or rules-per-bus, inspect event patterns / schedules / state / targets, jump to the console. Runs standalone in any terminal.
┌─ eventbridge ─────────────────────────────────────────────────────────┐│ ▸1.Buses (3) 2.Default rules (14) 3.Orders bus (4) │└───────────────────────────────────────────────────────────────────────┘┌─ rules · default (14) ────┐ ┌─ detail ────────────────────────────────┐│ ▸ daily-cleanup │ │ Name daily-cleanup ││ ENABLED · rate(1 day) │ │ State ENABLED ││ order-created │ │ Bus default ││ ENABLED │ │ Schedule rate(1 day) ││ payment-completed │ │ ││ ENABLED │ │ ARN ││ … │ │ arn:aws:events:us-east-1:… ││ │ │ ││ │ │ Targets (2) ││ │ │ lambda …:function:cleanup-fn ││ │ │ sqs …:queue:cleanup-dlq │└───────────────────────────┘ └─────────────────────────────────────────┘ 1-9 tab · ↑↓/jk move · o console · y yank ARN · r refresh · q quitInstall
Section titled “Install”cargo install --git https://github.com/chris-mclennan/mnml-aws-eventbridge --tag v0.2.0 mnml-aws-eventbridgeYou’ll also need the AWS CLI on your $PATH with credentials configured.
- Verify the AWS CLI works.
aws events list-event-busesmust succeed. - Run once to scaffold the config:
mnml-aws-eventbridge. - Edit
~/.config/mnml-aws-eventbridge.toml— add your tabs. - Re-run.
Auth shape
Section titled “Auth shape”Pure shell-out to the aws CLI — same chain as the other AWS siblings.
Config
Section titled “Config”# Optional top-level region:# region = "us-east-1"
refresh_interval_secs = 60
[[tabs]]name = "Buses"kind = "buses"
[[tabs]]name = "Default rules"kind = "rules"event_bus_name = "default"
[[tabs]]name = "Orders bus"kind = "rules"event_bus_name = "orders-events"Tab kinds
Section titled “Tab kinds”kind | What it shows | Required fields |
|---|---|---|
buses (default) | Every event bus in the region | none |
rules | Rules on event_bus_name. Use "default" for the account-wide default bus | event_bus_name |
Layout
Section titled “Layout”- Tab strip: one tab per
[[tabs]]entry, with per-tab count badge - Items table (left, 45%): name + state / schedule (rules) or “event bus” (buses)
- Detail panel (right, 55%): focused item’s full detail
- Bus: name, created, last-modified, ARN, optional resource policy JSON
- Rule: name, state, bus, schedule expression, role, managed-by, ARN, description, event pattern JSON, followed by a
Targets (N)section (v0.2) — one row per target as<service> <arn-tail>with an optionalinput:snippet underneath.<service>is extracted from the target ARN (arn:aws:lambda:…→lambda,arn:aws:sqs:…→sqs, etc.). Display caps at 8 rows with… N moreoverflow when a rule fans out wider than that. Targets are fetched lazily vialist-targets-by-rulekeyed by<bus>::<rule>and refreshed when the cursor lands on a new rule.
- Status: active count, key hints
| Chord | Action |
|---|---|
1-9 | Switch to that tab |
Tab / BackTab | Cycle tabs |
↑ / k, ↓ / j | Move selection |
PgUp / PgDn | Jump 10 rows |
g / G | Top / bottom |
Enter / o | Open EventBridge console for the focused item |
y | Yank focused item’s ARN to clipboard |
r | Refresh active tab |
q / Esc / Ctrl+C | Quit |
Two run modes
Section titled “Two run modes”Standalone
Section titled “Standalone”mnml-aws-eventbridgeHosted as a mnml Pty pane
Section titled “Hosted as a mnml Pty pane”:term mnml-aws-eventbridgeWire it into mnml’s left rail
Section titled “Wire it into mnml’s left rail”mnml-aws-eventbridge ships as a default chip in mnml’s rail under INTEGRATIONS. Bound to <leader>i e in the whichkey leader menu (vim mode), or palette-runnable as forge.open_eventbridge.
Status
Section titled “Status”v0.2 — per-rule targets list. New backend functions
list_targets_by_rule + a Target struct (Id / Arn / Input / InputPath / RoleArn).
Target::service() extracts the AWS service from a target ARN
(arn:aws:lambda:… → lambda). The detail panel for a focused rule now
grows a Targets (N) section showing each target as
<service> <arn-tail> with an optional input: snippet. Lazily fetched
via App.focused_targets keyed by <bus>::<rule>, refreshed on cursor
move. Caps display at 8 with … N more overflow.
v0.1 — buses list, rules-per-bus list (paginated), focused-item detail panel, console open, ARN yank.
Held back for v0.3+:
- Schedules tab (EventBridge Scheduler — separate service)
- Archives + replays tab
- Test event sender (
put-events) - Rule enable/disable toggle
- Rule state filter (ENABLED-only / DISABLED-only / managed-by-aws)