feat(claude-apps-gateway): offer Claude Opus 5 in the model catalog - #264
Open
bluedoors wants to merge 1 commit into
Open
feat(claude-apps-gateway): offer Claude Opus 5 in the model catalog#264bluedoors wants to merge 1 commit into
bluedoors wants to merge 1 commit into
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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— replaceclaude-opus-4-8withclaude-opus-5in both themanaged.policies.availableModelspicker allowlist and themodels:catalog. The catalog entry maps toglobal.anthropic.claude-opus-5, matching the dateless global-inference-profile pattern theclaude-sonnet-5entry already uses.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
bedrock:InvokeModel*on the wildcardsinference-profile/global.anthropic.*andfoundation-model/anthropic.*, which cover Opus 5. The CDK tests assert those wildcards (not specific model IDs), so nothing breaks.auto_include_builtin_models: false), so a new model id is neither a new gateway subcommand nor a new managed-settings key.CLAUDE_VERSIONstays at 2.1.218.aws bedrock list-inference-profilesper 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 theLESSONS.mdlive-deploy log (historical record).Verification
gateway.yaml.exampleparses; thestamp-configsuite 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).