Skip to content

feat(claude-apps-gateway): offer Claude Opus 5 in the model catalog - #264

Open
bluedoors wants to merge 1 commit into
aws-samples:mainfrom
bluedoors:feat/add-claude-opus-5
Open

feat(claude-apps-gateway): offer Claude Opus 5 in the model catalog#264
bluedoors wants to merge 1 commit into
aws-samples:mainfrom
bluedoors:feat/add-claude-opus-5

Conversation

@bluedoors

Copy link
Copy Markdown
Contributor

What

Adds Claude Opus 5 (claude-opus-5) to the example's model catalog, replacing Claude Opus 4.8. Opus 5 is now the recommended model for agentic coding / enterprise work and is available on Amazon Bedrock; Opus 4.8 has moved to Anthropic's legacy tier.

Changes

  • cdk/gateway.yaml.template + cdk/gateway.yaml.example — replace claude-opus-4-8 with claude-opus-5 in both the managed.policies.availableModels picker allowlist and the models: catalog. The catalog entry maps to global.anthropic.claude-opus-5, matching the dateless global-inference-profile pattern the claude-sonnet-5 entry already uses.
  • Docs (cdk/README.md, README.md, docs/deployment.md) — update the "shipped catalog" statement and the catalog / short-alias examples that mirror it.

Why no IAM or version change

  • No IAM/CDK change: the task role already grants bedrock:InvokeModel* on the wildcards inference-profile/global.anthropic.* and foundation-model/anthropic.*, which cover Opus 5. The CDK tests assert those wildcards (not specific model IDs), so nothing breaks.
  • No pinned-CLI bump: the gateway resolves operator-defined model IDs straight to Bedrock inference profiles (auto_include_builtin_models: false), so a new model id is neither a new gateway subcommand nor a new managed-settings key. CLAUDE_VERSION stays at 2.1.218.
  • Operator prerequisite unchanged: enable Bedrock model access for the model you list (already documented). Confirm the exact global profile id with aws bedrock list-inference-profiles per the template's existing caveat.

Deliberately left as-is: illustrative policy/failover snippets that already show non-shipped models (e.g. sonnet-4-6, on-demand profiles), workshop teaching material, and the LESSONS.md live-deploy log (historical record).

Verification

gateway.yaml.example parses; the stamp-config suite stamps the edited template to valid YAML (9); setup-helpers (14); cdk synth + jest (17) all pass. No live AWS account exercised (per repo convention).

…the catalog)

Anthropic released Claude Opus 5 (`claude-opus-5`), now the recommended model
for agentic coding / enterprise work and available on Amazon Bedrock; Opus 4.8
has moved to the legacy tier. Swap it into the example's model catalog.

- gateway.yaml.template / gateway.yaml.example: replace `claude-opus-4-8` with
  `claude-opus-5` in both the `managed.policies.availableModels` picker allowlist
  and the `models:` catalog (`global.anthropic.claude-opus-5`, matching the
  dateless global-inference-profile pattern the sonnet-5 entry already uses).
- Docs: update the "shipped catalog" statement and the catalog / short-alias
  examples that mirror it (cdk/README.md, README.md, docs/deployment.md).

No IAM/CDK change: the task role already grants Bedrock invoke on the wildcards
`inference-profile/global.anthropic.*` and `foundation-model/anthropic.*`, which
cover Opus 5. No pinned-CLI bump: the gateway resolves operator-defined model IDs
straight to Bedrock inference profiles (auto_include_builtin_models: false), so a
new model id is neither a new gateway subcommand nor a new managed-settings key.
Operator prerequisite unchanged: enable Bedrock model access for the model you
list (already documented). Confirm the exact global profile id with
`aws bedrock list-inference-profiles` per the template's existing caveat.

Deliberately left as-is: illustrative policy/failover snippets that already show
non-shipped models (e.g. sonnet-4-6, on-demand profiles), workshop teaching
material, and the LESSONS.md live-deploy log (historical record).

Verified: gateway.yaml.example parses; stamp-config suite stamps the edited
template to valid YAML (9); setup-helpers (14); cdk synth + jest (17) pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant