Skip to content

chore(bedrock): add Claude Opus 5, Mythos 5, and Fable 5 foundation models - #38571

Open
vishwakt wants to merge 2 commits into
aws:mainfrom
vishwakt:chore/bedrock-claude-5-family
Open

chore(bedrock): add Claude Opus 5, Mythos 5, and Fable 5 foundation models#38571
vishwakt wants to merge 2 commits into
aws:mainfrom
vishwakt:chore/bedrock-claude-5-family

Conversation

@vishwakt

Copy link
Copy Markdown
Contributor

Issue # (if applicable)

Closes #38570.

Note: this branch is stacked on #38557 (approved, awaiting auto-merge), so the diff temporarily includes that PR's Sonnet 5 commit. Once #38557 merges, the diff reduces to the Claude 5 family entries; I will rebase to clean the commit list.

Reason for this change

The Claude 5 family on Amazon Bedrock includes Claude Opus 5, Claude Fable 5, and Claude Mythos 5, none of which have predefined constants in FoundationModelIdentifier (aws-cdk-lib/aws-bedrock) or BedrockFoundationModel (@aws-cdk/aws-bedrock-alpha). Sonnet 5 was covered by #38272 and #38557. Prompted by review feedback from @lpizzinidev on #38557.

Description of changes

Verified against the Amazon Bedrock model cards:

Model Model ID Bedrock Agents Cross-region profiles
Claude Opus 5 anthropic.claude-opus-5 Yes us/eu/au geo + global
Claude Fable 5 anthropic.claude-fable-5 Yes us geo + global
Claude Mythos 5 anthropic.claude-mythos-5 No None (bedrock-mantle only, Preview, single region)

Describe any new or updated permissions being added

None.

Description of how you validated changes

All 534 tests in the alpha module and the aws-bedrock tests in aws-cdk-lib pass. Purely additive constants; no behavior changes. No integration test or README change, consistent with prior model-constant additions (#38038, #38557).

Checklist

Credit to @lpizzinidev for flagging the missing models on #38557.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

The BedrockFoundationModel class has no predefined constant for
Anthropic's Claude Sonnet 5 (anthropic.claude-sonnet-5), which is
generally available on Amazon Bedrock. The FoundationModelIdentifier
class in aws-cdk-lib gained this model in aws#38272, but the alpha
module was not updated alongside it, so referencing Claude Sonnet 5
through the L2 Bedrock constructs requires hand-constructing the
model definition.

Adds ANTHROPIC_CLAUDE_SONNET_5 with the same model id as the
aws-cdk-lib counterpart and the same capability flags as its Sonnet
predecessors (supportsAgents, supportsCrossRegion, optimizedForAgents),
following the pattern of the Claude Opus 4.8 addition (aws#38038).

Closes aws#38556.
…odels

Adds the remaining Claude 5 family models to the predefined model
constants, verified against the Amazon Bedrock model cards:

- FoundationModelIdentifier (aws-cdk-lib/aws-bedrock) gains
  ANTHROPIC_CLAUDE_OPUS_5 (anthropic.claude-opus-5),
  ANTHROPIC_CLAUDE_MYTHOS_5 (anthropic.claude-mythos-5), and
  ANTHROPIC_CLAUDE_FABLE_5 (anthropic.claude-fable-5), following aws#38272.
- BedrockFoundationModel (@aws-cdk/aws-bedrock-alpha) gains
  ANTHROPIC_CLAUDE_OPUS_5 and ANTHROPIC_CLAUDE_FABLE_5 with
  supportsAgents and supportsCrossRegion per the model cards, following
  aws#38038 and aws#38557. Fable 5's doc notes the provider_data_share data
  retention opt-in its model card requires.

Mythos 5 is deliberately excluded from the alpha module: per its model
card it supports neither Bedrock Agents nor Invoke/Converse
(bedrock-mantle Messages API only, Preview, single region), so a
BedrockFoundationModel constant would not be usable with the constructs
that class serves. The plain identifier in aws-cdk-lib gives users a
canonical reference.

Closes aws#38570.
@vishwakt
vishwakt deployed to automation August 14, 2026 16:33 — with GitHub Actions Active
@vishwakt
vishwakt deployed to automation August 14, 2026 16:33 — with GitHub Actions Active
@github-actions github-actions Bot added the repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK label Aug 14, 2026
@aws-cdk-automation
aws-cdk-automation requested a review from a team August 14, 2026 16:33
@github-actions github-actions Bot added the p2 label Aug 14, 2026
@vishwakt
vishwakt deployed to automation August 14, 2026 16:33 — with GitHub Actions Active
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Aug 14, 2026

@lpizzinidev lpizzinidev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ty!

@aws-cdk-automation aws-cdk-automation added pr/needs-maintainer-review This PR needs a review from a Core Team Member and removed pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. labels Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2 pr/needs-maintainer-review This PR needs a review from a Core Team Member repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-bedrock-alpha): add BedrockFoundationModel entries for Claude Opus 5 and Fable 5, FoundationModelIdentifier for Mythos 5

3 participants