aws-samples / aws-samples/sample-autonomous-cloud-coding-agents
feat(cost): tagged Bedrock application inference profiles
- Vorherrschende Sprache
- TypeScript
- Sterne
- 143
- Forks
- 46
- Ø Merge
- 3 T. 10 Std.
- Gemergte PRs (30 T.)
- 24
Beschreibung
**Context:** ROADMAP.md → Optional tagged application inference profiles
**Related:** #215
---
## Component
CDK / infrastructure
## Describe the feature
CDK-managed **Bedrock application inference profiles** per onboarded repo or environment. Set `ANTHROPIC_MODEL` to tagged profile ARN for `resourceTags/*` billing when repo count is bounded.
## Use case
When IAM session-tag attribution (#215) is insufficient or repo count is small, tagged inference profiles provide an alternative chargeback dimension in CUR.
## Proposed solution
1. Blueprint optional `inference_profile_arn` override.
2. CDK creates profiles with `resourceTags` for `repo`, `environment`.
3. Agent/runtime config resolves model ARN at task start.
4. Document operator setup and profile limits in `docs/design/COST_MODEL.md`.
5. Fallback to default model when profile unset.
## Other information
- Complements #215; not a replacement for in-app `cost_usd`.
- Design context: `docs/design/COST_MODEL.md`.
- [ ] This might be a breaking change
Beitragsleitfaden
Rechercherichtung
Beginnen Sie mit ROADMAP.md und docs/design/COST_MODEL.md und verfolgen Sie anschließend die Einstiegspunkte für die CDK-Blueprint- und Agent-/Runtime-Konfiguration. Prüfen Sie das zugehörige IAM-Session-Tag-Problem (#215) und die Profilgrenzen von Bedrock. Als abgeschlossen gilt die Unterstützung optionaler Profile pro Repository oder pro Umgebung, wobei nicht gesetzte Profile auf das Standardmodell zurückfallen, sowie die Dokumentation der Einrichtung für Betreiber.
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
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100