aws-samples / aws-samples/sample-autonomous-cloud-coding-agents

feat(cost): tagged Bedrock application inference profiles

オープン
#489 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
cost-finops enhancement infra-cdk
主要言語
TypeScript
スター
143
フォーク
46
平均マージ
3日 10時間
マージ済み PR(30日)
24

説明

**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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ROADMAP.md と docs/design/COST_MODEL.md から始め、CDK blueprint と agent/runtime 設定のエントリポイントを追跡します。関連する IAM セッションタグの issue (#215) と Bedrock のプロファイル制限を確認します。リポジトリ単位または環境単位のオプションのプロファイルがサポートされ、未設定のプロファイルがデフォルトモデルにフォールバックし、オペレーター向けのセットアップが文書化されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, typescript
領域
cloud, infrastructure
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。