aws-samples / aws-samples/sample-autonomous-cloud-coding-agents
feat(infra): EventBridge/SNS task lifecycle event bus
- Vorherrschende Sprache
- TypeScript
- Sterne
- 143
- Forks
- 46
- Ø Merge
- 3 T. 10 Std.
- Gemergte PRs (30 T.)
- 24
Beschreibung
**Context:** ROADMAP.md → EventBridge / SNS integration
**Related:** #228 (DLQ→SNS alarms only—not lifecycle events)
---
## Component
CDK / infrastructure
## Describe the feature
Publish **task lifecycle events** to **EventBridge** or **SNS** for external consumers beyond built-in DDB-Stream fanout (GitHub/Slack/email).
## Use case
Enterprises integrate ABCA with SIEM, internal workflow tools, or data warehouses. Fanout is channel-specific, not a general integration bus.
## Proposed solution
1. EventBridge bus + rules: `task.submitted`, `task.running`, `task.completed`, `task.failed`, `approval.required`, etc.
2. Optional SNS topic fan-out for simpler subscribers.
3. CDK opt-in; schema registry for event detail types.
4. IAM for cross-account publish (optional).
5. Document in `docs/design/API_CONTRACT.md` extension index.
## Other information
- Not the same as #228 (webhook processor DLQ alarms).
- Design context: `docs/design/OBSERVABILITY.md`, `docs/design/INPUT_GATEWAY.md`.
- [ ] This might be a breaking change
Beitragsleitfaden
Rechercherichtung
Beginnen Sie mit ROADMAP.md und lesen Sie anschließend docs/design/OBSERVABILITY.md, docs/design/INPUT_GATEWAY.md und docs/design/API_CONTRACT.md. Das Issue identifiziert keine CDK-Einstiegspunkte, Ereigniserzeuger, Schemas, Tests oder Entscheidung zwischen EventBridge und SNS; diese Abgrenzungen und Akzeptanzkriterien müssen festgelegt werden, bevor die Implementierung als abgeschlossen gilt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, typescript
- Bereich
- cloud, infrastructure
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 30/100