Skip to content
v2.278.0

Experimental

@aws-cdk/aws-bedrock-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

BedrockFoundationModel Class ​

Bedrock models.

If you need to use a model name that doesn't exist as a static member, you can instantiate a BedrockFoundationModel object, e.g: new BedrockFoundationModel('my-model').

Example ​

ts
const parserFunction = new lambda.Function(this, 'ParserFunction', {
  runtime: lambda.Runtime.PYTHON_3_10,
  handler: 'index.handler',
  code: lambda.Code.fromAsset('lambda'),
});

const agent = new bedrock.Agent(this, 'Agent', {
  foundationModel: bedrock.BedrockFoundationModel.AMAZON_NOVA_LITE_V1,
  instruction: 'You are a helpful assistant.',
  promptOverrideConfiguration: bedrock.PromptOverrideConfiguration.withCustomParser({
    parser: parserFunction,
    preProcessingStep: {
      stepType: bedrock.AgentStepType.PRE_PROCESSING,
      useCustomParser: true
    }
  })
});
python
parser_function = lambda_.Function(self, "ParserFunction",
    runtime=lambda_.Runtime.PYTHON_3_10,
    handler="index.handler",
    code=lambda_.Code.from_asset("lambda")
)

agent = bedrock.Agent(self, "Agent",
    foundation_model=bedrock.BedrockFoundationModel.AMAZON_NOVA_LITE_V1,
    instruction="You are a helpful assistant.",
    prompt_override_configuration=bedrock.PromptOverrideConfiguration.with_custom_parser(
        parser=parser_function,
        pre_processing_step=bedrock.PromptPreProcessingConfigCustomParser(
            step_type=bedrock.AgentStepType.PRE_PROCESSING,
            use_custom_parser=True
        )
    )
)
java
Function parserFunction = Function.Builder.create(this, "ParserFunction")
        .runtime(Runtime.PYTHON_3_10)
        .handler("index.handler")
        .code(Code.fromAsset("lambda"))
        .build();

Agent agent = Agent.Builder.create(this, "Agent")
        .foundationModel(BedrockFoundationModel.AMAZON_NOVA_LITE_V1)
        .instruction("You are a helpful assistant.")
        .promptOverrideConfiguration(PromptOverrideConfiguration.withCustomParser(CustomParserProps.builder()
                .parser(parserFunction)
                .preProcessingStep(PromptPreProcessingConfigCustomParser.builder()
                        .stepType(AgentStepType.PRE_PROCESSING)
                        .useCustomParser(true)
                        .build())
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Alpha
var parserFunction = new Function(this, "ParserFunction", new FunctionProps {
    Runtime = Runtime.PYTHON_3_10,
    Handler = "index.handler",
    Code = Code.FromAsset("lambda")
});

var agent = new Agent(this, "Agent", new AgentProps {
    FoundationModel = BedrockFoundationModel.AMAZON_NOVA_LITE_V1,
    Instruction = "You are a helpful assistant.",
    PromptOverrideConfiguration = PromptOverrideConfiguration.WithCustomParser(new CustomParserProps {
        Parser = parserFunction,
        PreProcessingStep = new PromptPreProcessingConfigCustomParser {
            StepType = AgentStepType.PRE_PROCESSING,
            UseCustomParser = true
        }
    })
});
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockalpha/v2
parserFunction := lambda.NewFunction(this, jsii.String("ParserFunction"), &FunctionProps{
	Runtime: lambda.Runtime_PYTHON_3_10(),
	Handler: jsii.String("index.handler"),
	Code: lambda.Code_FromAsset(jsii.String("lambda")),
})

agent := bedrock.NewAgent(this, jsii.String("Agent"), &AgentProps{
	FoundationModel: bedrock.BedrockFoundationModel_AMAZON_NOVA_LITE_V1(),
	Instruction: jsii.String("You are a helpful assistant."),
	PromptOverrideConfiguration: bedrock.PromptOverrideConfiguration_WithCustomParser(&CustomParserProps{
		Parser: parserFunction,
		PreProcessingStep: &PromptPreProcessingConfigCustomParser{
			StepType: bedrock.AgentStepType_PRE_PROCESSING,
			UseCustomParser: jsii.Boolean(true),
		},
	}),
})

Initializer ​

ts
new BedrockFoundationModel(value: string, props?: BedrockFoundationModelProps)
python
BedrockFoundationModel(value: str, props: typing.Optional[BedrockFoundationModelProps] = None)
java
new BedrockFoundationModel(String value, BedrockFoundationModelProps props)
csharp
new BedrockFoundationModel(string value, BedrockFoundationModelProps? props = null)
go
NewBedrockFoundationModel(Value *string, Props BedrockFoundationModelProps)

Properties ​

AI21_JAMBA_1_5_LARGE_V1BedrockFoundationModelAI21_JAMBA_1_5_LARGE_V1BedrockFoundationModelAI21_JAMBA_1_5_LARGE_V1BedrockFoundationModelAI21_JAMBA_1_5_LARGE_V1BedrockFoundationModelAI21_JAMBA_1_5_LARGE_V1BedrockFoundationModel static #
AI21's Jamba 1.5 Large model optimized for text generation tasks. Suitable for complex language understanding and generation tasks.

Features:

  • Supports Bedrock Agents integration
  • Optimized for natural language processing
  • Best for: Content generation, summarization, and complex text analysis
AI21_JAMBA_1_5_MINI_V1BedrockFoundationModelAI21_JAMBA_1_5_MINI_V1BedrockFoundationModelAI21_JAMBA_1_5_MINI_V1BedrockFoundationModelAI21_JAMBA_1_5_MINI_V1BedrockFoundationModelAI21_JAMBA_1_5_MINI_V1BedrockFoundationModel static #
AI21's Jamba 1.5 Mini model, a lighter version optimized for faster processing. Balances performance with efficiency for general text tasks.

Features:

  • Supports Bedrock Agents integration
  • Faster response times compared to larger models
  • Best for: Quick text processing, basic content generation
AI21_JAMBA_INSTRUCT_V1BedrockFoundationModelAI21_JAMBA_INSTRUCT_V1BedrockFoundationModelAI21_JAMBA_INSTRUCT_V1BedrockFoundationModelAI21_JAMBA_INSTRUCT_V1BedrockFoundationModelAI21_JAMBA_INSTRUCT_V1BedrockFoundationModel static #
AI21's Jamba Instruct model, specifically designed for instruction-following tasks. Optimized for understanding and executing specific instructions.

Features:

  • Supports Bedrock Agents integration
  • Enhanced instruction understanding
  • Best for: Task-specific instructions, command processing
AMAZON_NOVA_LITE_V1BedrockFoundationModelAMAZON_NOVA_LITE_V1BedrockFoundationModelAMAZON_NOVA_LITE_V1BedrockFoundationModelAMAZON_NOVA_LITE_V1BedrockFoundationModelAMAZON_NOVA_LITE_V1BedrockFoundationModel static #
Amazon's Nova Lite model, balancing performance with efficiency.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Optimized for agents
  • Best for: General-purpose language tasks, moderate complexity
AMAZON_NOVA_MICRO_V1BedrockFoundationModelAMAZON_NOVA_MICRO_V1BedrockFoundationModelAMAZON_NOVA_MICRO_V1BedrockFoundationModelAMAZON_NOVA_MICRO_V1BedrockFoundationModelAMAZON_NOVA_MICRO_V1BedrockFoundationModel static #
Amazon's Nova Micro model, a lightweight model optimized for efficiency.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Optimized for agents
  • Best for: Quick processing tasks, basic language understanding
AMAZON_NOVA_PREMIER_V1BedrockFoundationModelAMAZON_NOVA_PREMIER_V1BedrockFoundationModelAMAZON_NOVA_PREMIER_V1BedrockFoundationModelAMAZON_NOVA_PREMIER_V1BedrockFoundationModelAMAZON_NOVA_PREMIER_V1BedrockFoundationModel static #
Amazon's Nova Premier model, the most advanced in the Nova series.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Optimized for agents
  • Best for: High-end applications, complex analysis, premium performance
AMAZON_NOVA_PRO_V1BedrockFoundationModelAMAZON_NOVA_PRO_V1BedrockFoundationModelAMAZON_NOVA_PRO_V1BedrockFoundationModelAMAZON_NOVA_PRO_V1BedrockFoundationModelAMAZON_NOVA_PRO_V1BedrockFoundationModel static #
Amazon's Nova Pro model, offering advanced capabilities for complex tasks.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Optimized for agents
  • Best for: Complex language tasks, professional applications
AMAZON_TITAN_PREMIER_V1_0BedrockFoundationModelAMAZON_TITAN_PREMIER_V1_0BedrockFoundationModelAMAZON_TITAN_PREMIER_V1_0BedrockFoundationModelAMAZON_TITAN_PREMIER_V1_0BedrockFoundationModelAMAZON_TITAN_PREMIER_V1_0BedrockFoundationModel static #
Amazon's Titan Text Premier model, designed for high-quality text generation. Offers enhanced capabilities for complex language tasks.

Features:

  • Supports Bedrock Agents integration
  • Advanced language understanding
  • Best for: Complex content generation, detailed analysis
AMAZON_TITAN_TEXT_EXPRESS_V1BedrockFoundationModelAMAZON_TITAN_TEXT_EXPRESS_V1BedrockFoundationModelAMAZON_TITAN_TEXT_EXPRESS_V1BedrockFoundationModelAMAZON_TITAN_TEXT_EXPRESS_V1BedrockFoundationModelAMAZON_TITAN_TEXT_EXPRESS_V1BedrockFoundationModel static #
Amazon's Titan Text Express model, optimized for fast text generation. Provides quick responses while maintaining good quality output.

Features:

  • Supports Bedrock Agents integration
  • Fast response times
  • Best for: Real-time applications, chatbots, quick content generation
ANTHROPIC_CLAUDE_3_5_HAIKU_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_HAIKU_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_HAIKU_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_HAIKU_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_HAIKU_V1_0BedrockFoundationModel static #
Anthropic's Claude 3.5 Haiku model, optimized for quick responses. Lightweight model focused on speed and efficiency.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Optimized for agents
  • Best for: Fast responses, lightweight processing
ANTHROPIC_CLAUDE_3_5_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_SONNET_V1_0BedrockFoundationModel static #
Anthropic's Claude 3.5 Sonnet V1 model, balanced performance model. Offers good balance between performance and efficiency.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Optimized for agents
  • Best for: General language tasks, balanced performance
ANTHROPIC_CLAUDE_3_5_SONNET_V2_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_SONNET_V2_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_SONNET_V2_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_SONNET_V2_0BedrockFoundationModelANTHROPIC_CLAUDE_3_5_SONNET_V2_0BedrockFoundationModel static #
Anthropic's Claude 3.5 Sonnet V2 model, optimized for agent interactions. Enhanced version with improved performance and capabilities.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Optimized for agents
  • Best for: Agent-based applications, complex dialogue
ANTHROPIC_CLAUDE_3_7_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_7_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_7_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_7_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_3_7_SONNET_V1_0BedrockFoundationModel static #
Anthropic's Claude 3.7 Sonnet model, latest in the Claude 3 series. Advanced language model with enhanced capabilities.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Complex reasoning, analysis, and content generation
ANTHROPIC_CLAUDE_FABLE_5BedrockFoundationModelANTHROPIC_CLAUDE_FABLE_5BedrockFoundationModelANTHROPIC_CLAUDE_FABLE_5BedrockFoundationModelANTHROPIC_CLAUDE_FABLE_5BedrockFoundationModelANTHROPIC_CLAUDE_FABLE_5BedrockFoundationModel static #
Anthropic's Claude Fable 5 model, Anthropic's next-generation model for complex knowledge work and coding, capable of sustained autonomous operation across multi-day tasks.
notes

Features a 1M token context window, 128K max output tokens, and supports reasoning.

Using this model requires opting in to the provider_data_share data retention mode; see the Amazon Bedrock model card for details.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
ANTHROPIC_CLAUDE_FABLE_5_1BedrockFoundationModelANTHROPIC_CLAUDE_FABLE_5_1BedrockFoundationModelANTHROPIC_CLAUDE_FABLE_5_1BedrockFoundationModelANTHROPIC_CLAUDE_FABLE_5_1BedrockFoundationModelANTHROPIC_CLAUDE_FABLE_5_1BedrockFoundationModel static #
Anthropic's Claude Fable 5.1 model, Anthropic's frontier model for ambitious coding, long-horizon agents, and enterprise knowledge work. Features a 1M token context window, 128K max output tokens, and supports reasoning.
notes

Only available through the global and us cross-region inference profiles.

Using this model requires opting in to the aws_review data retention mode; see the Amazon Bedrock model card for details.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
ANTHROPIC_CLAUDE_HAIKU_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_4_5_V1_0BedrockFoundationModel static #
Anthropic's Claude Haiku 4.5 model, most cost-efficient and fastest. Delivers near-frontier performance with substantially lower cost and faster speeds.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Best for: Large-scale deployments, budget-conscious applications, real-time customer service, latency-sensitive use cases
ANTHROPIC_CLAUDE_HAIKU_5_5BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_5_5BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_5_5BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_5_5BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_5_5BedrockFoundationModel static #
Anthropic's Claude Haiku 5.5 model, the fastest and most efficient in the Claude 5.5 family. Built for high-volume, latency-sensitive work, with improved coding and agent performance over Claude Haiku 4.5. Features a 1M token context window, 128K max output tokens, and supports reasoning.

Only available through the us, eu, au, jp and global cross-region inference profiles. There is no apac profile for this model.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
ANTHROPIC_CLAUDE_HAIKU_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_HAIKU_V1_0BedrockFoundationModel static #
Anthropic's Claude Haiku model, optimized for efficiency. Fast and efficient model for lightweight tasks.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Optimized for agents
  • Best for: Quick responses, simple tasks
ANTHROPIC_CLAUDE_INSTANT_V1_2BedrockFoundationModelANTHROPIC_CLAUDE_INSTANT_V1_2BedrockFoundationModelANTHROPIC_CLAUDE_INSTANT_V1_2BedrockFoundationModelANTHROPIC_CLAUDE_INSTANT_V1_2BedrockFoundationModelANTHROPIC_CLAUDE_INSTANT_V1_2BedrockFoundationModel static #
Anthropic's Claude Instant V1.2 model, legacy version. Fast and efficient model optimized for quick responses.

Features:

  • Supports Bedrock Agents integration
  • Legacy model with EOL date
  • Optimized for agents
  • Best for: Quick responses, simple tasks, legacy applications
ANTHROPIC_CLAUDE_OPUS_4_1_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_1_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_1_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_1_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_1_V1_0BedrockFoundationModel static #
Anthropic's Claude Opus 4.1 model, most advanced for coding and agentic applications. Excels at independently planning and executing complex development tasks end-to-end. Drop-in replacement for Opus 4 with superior performance and precision.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Best for: Complex end-to-end development, agentic applications, research, advanced reasoning
ANTHROPIC_CLAUDE_OPUS_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_5_V1_0BedrockFoundationModel static #
Anthropic's Claude Opus 4.5 model, the flagship model released November 2025. Excels at real-world programming tasks, scoring highest on SWE-bench Verified benchmarks. Demonstrates superior performance in long-horizon, goal-directed agentic work with fewer dead-ends.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Best for: Software engineering, code migration, agentic workflows, financial modeling, deep research
ANTHROPIC_CLAUDE_OPUS_4_6_V1BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_6_V1BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_6_V1BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_6_V1BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_6_V1BedrockFoundationModel static #
Anthropic's Claude Opus 4.6 model, the most intelligent model and the world's best model for coding, enterprise agents, and professional work. Supports both 200K and 1M context tokens (with the latter in preview). Excels in agentic workflows, complex coding projects, and enterprise applications requiring sophisticated reasoning.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Best for: Financial analysis, cybersecurity, computer use workflows, long-horizon development, multi-tool orchestration
ANTHROPIC_CLAUDE_OPUS_4_7BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_7BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_7BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_7BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_7BedrockFoundationModel static #
Anthropic's Claude Opus 4.7 model, Anthropic's most capable generally available model, advancing performance across coding, enterprise workflows, and long-running agentic tasks. Features a 1M token context window, 128K max output tokens, and supports reasoning.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
ANTHROPIC_CLAUDE_OPUS_4_8BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_8BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_8BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_8BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_8BedrockFoundationModel static #
Anthropic's Claude Opus 4.8 model, Anthropic's most intelligent Opus model and best generally available model for coding and agents, with deeper reasoning for enterprise workflows. Features a 1M token context window, 128K max output tokens, and supports reasoning.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
ANTHROPIC_CLAUDE_OPUS_4_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_4_V1_0BedrockFoundationModel static #
Anthropic's Claude Opus 4 model, next-generation frontier model. High-performance model for advanced reasoning and complex multi-step tasks.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Best for: Advanced reasoning, complex workflows, enterprise applications
ANTHROPIC_CLAUDE_OPUS_5BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_5BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_5BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_5BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_5BedrockFoundationModel static #
Anthropic's Claude Opus 5 model, Anthropic's most advanced Opus model, powering long-running agents while delivering improvements in coding and professional work.

Features a 1M token context window, 128K max output tokens, and supports reasoning.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
ANTHROPIC_CLAUDE_OPUS_5_5BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_5_5BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_5_5BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_5_5BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_5_5BedrockFoundationModel static #
Anthropic's Claude Opus 5.5 model, Anthropic's most capable Opus model. Better at coding, knowledge work, and long-running tasks. Features a 1M token context window, 128K max output tokens, and supports reasoning.

Only available through the global, us, eu, au and jp cross-region inference profiles.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
ANTHROPIC_CLAUDE_OPUS_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_OPUS_V1_0BedrockFoundationModel static #
Anthropic's Claude Opus model, designed for advanced tasks. High-performance model with extensive capabilities.

Features:

  • Supports Bedrock Agents integration
  • Optimized for agents
  • Best for: Complex reasoning, research, and analysis
ANTHROPIC_CLAUDE_SONNET_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_5_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_5_V1_0BedrockFoundationModel static #
Anthropic's Claude Sonnet 4.5 model, most intelligent in the Claude 4 series. Demonstrates advancements in agent capabilities with enhanced performance in tool handling, memory management, and context processing. Excels at autonomous long-horizon coding tasks.
notes

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Enhanced tool handling and memory management for long-running tasks
  • Best for: Complex agents, coding, autonomous long-horizon tasks, research and analysis, cybersecurity and finance applications
ANTHROPIC_CLAUDE_SONNET_4_6BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_6BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_6BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_6BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_6BedrockFoundationModel static #
Anthropic's Claude Sonnet 4.6 model. Improved performance for coding, agentic workflows, and browser-based automation.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Best for: Coding, agentic workflows, browser-based automation, enterprise applications
ANTHROPIC_CLAUDE_SONNET_4_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_4_V1_0BedrockFoundationModel static #
Anthropic's Claude Sonnet 4 model, next-generation frontier model. Advanced model with improved performance for production environments. Balances quality, cost-effectiveness, and responsiveness.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Best for: Production applications, complex language tasks, balanced performance and cost
ANTHROPIC_CLAUDE_SONNET_5BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_5BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_5BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_5BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_5BedrockFoundationModel static #
Anthropic's Claude Sonnet 5 model, the first Sonnet of the Claude 5 family.
notes

Strong performance across coding, agentic workflows, and enterprise applications.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
  • Best for: Coding, agentic workflows, enterprise applications
ANTHROPIC_CLAUDE_SONNET_5_5BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_5_5BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_5_5BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_5_5BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_5_5BedrockFoundationModel static #
Anthropic's Claude Sonnet 5.5 model. Improved coding and knowledge work over Claude Sonnet 5, at a lower cost per task. Features a 1M token context window, 128K max output tokens, and supports reasoning.

Only available through the global cross-region inference profile.

Features:

  • Supports vision (Image input modality)
  • Cross-region support
  • Supports Bedrock Agents
ANTHROPIC_CLAUDE_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_V1_0BedrockFoundationModelANTHROPIC_CLAUDE_SONNET_V1_0BedrockFoundationModel static #
Anthropic's Claude Sonnet model, legacy version. Balanced model for general-purpose tasks.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Legacy model with EOL date
  • Best for: General language tasks, standard applications
ANTHROPIC_CLAUDE_V2BedrockFoundationModelANTHROPIC_CLAUDE_V2BedrockFoundationModelANTHROPIC_CLAUDE_V2BedrockFoundationModelANTHROPIC_CLAUDE_V2BedrockFoundationModelANTHROPIC_CLAUDE_V2BedrockFoundationModel static #
Anthropic's Claude V2 model, legacy version. Original Claude V2 model with broad capabilities.

Features:

  • Supports Bedrock Agents integration
  • Legacy model with EOL date
  • Optimized for agents
  • Best for: General language tasks, legacy applications
ANTHROPIC_CLAUDE_V2_1BedrockFoundationModelANTHROPIC_CLAUDE_V2_1BedrockFoundationModelANTHROPIC_CLAUDE_V2_1BedrockFoundationModelANTHROPIC_CLAUDE_V2_1BedrockFoundationModelANTHROPIC_CLAUDE_V2_1BedrockFoundationModel static #
Anthropic's Claude V2.1 model, legacy version. Improved version of Claude V2 with enhanced capabilities.

Features:

  • Supports Bedrock Agents integration
  • Legacy model with EOL date
  • Optimized for agents
  • Best for: General language tasks, legacy applications
COHERE_EMBED_ENGLISH_V3BedrockFoundationModelCOHERE_EMBED_ENGLISH_V3BedrockFoundationModelCOHERE_EMBED_ENGLISH_V3BedrockFoundationModelCOHERE_EMBED_ENGLISH_V3BedrockFoundationModelCOHERE_EMBED_ENGLISH_V3BedrockFoundationModel static #
Cohere's English embedding model, optimized for English text embeddings. Specialized for semantic understanding of English content.

Features:

  • Supports Knowledge Base integration
  • 1024-dimensional vectors
  • Supports both floating-point and binary vectors
  • Best for: English text embeddings, semantic search, content similarity
COHERE_EMBED_MULTILINGUAL_V3BedrockFoundationModelCOHERE_EMBED_MULTILINGUAL_V3BedrockFoundationModelCOHERE_EMBED_MULTILINGUAL_V3BedrockFoundationModelCOHERE_EMBED_MULTILINGUAL_V3BedrockFoundationModelCOHERE_EMBED_MULTILINGUAL_V3BedrockFoundationModel static #
Cohere's Multilingual embedding model, supporting multiple languages. Enables semantic understanding across different languages.

Features:

  • Supports Knowledge Base integration
  • 1024-dimensional vectors
  • Supports both floating-point and binary vectors
  • Best for: Cross-lingual embeddings, multilingual semantic search
DEEPSEEK_R1_V1BedrockFoundationModelDEEPSEEK_R1_V1BedrockFoundationModelDEEPSEEK_R1_V1BedrockFoundationModelDEEPSEEK_R1_V1BedrockFoundationModelDEEPSEEK_R1_V1BedrockFoundationModel static #
Deepseek's R1 model, designed for general language understanding. Balanced model for various language tasks.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: General language tasks, content generation
invokableArnstringinvokable_arnstrinvokableArnStringInvokableArnstringInvokableArn*string #
The ARN used for invoking the model.

This is the same as modelArn for foundation models.

META_LLAMA_3_1_70B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_1_70_B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_1_70B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_1_70B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_1_70B_INSTRUCT_V1BedrockFoundationModel static #
Meta's Llama 3 70B Instruct model, large-scale instruction model. High-capacity model for complex language understanding.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Complex instructions, advanced language tasks
META_LLAMA_3_1_8B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_1_8_B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_1_8B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_1_8B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_1_8B_INSTRUCT_V1BedrockFoundationModel static #
Meta's Llama 3 1.8B Instruct model, compact instruction-following model. Efficient model optimized for instruction-based tasks.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Lightweight instruction processing, quick responses
META_LLAMA_3_2_11B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_11_B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_11B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_11B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_11B_INSTRUCT_V1BedrockFoundationModel static #
Meta's Llama 3.2 11B Instruct model, mid-sized instruction model. Balanced model for general instruction processing.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: General instruction tasks, balanced performance
META_LLAMA_3_2_1B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_1_B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_1B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_1B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_1B_INSTRUCT_V1BedrockFoundationModel static #
Meta's Llama 3.2 1B Instruct model, ultra-lightweight model. Most compact model in the Llama 3.2 series.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Simple instructions, fastest response times
META_LLAMA_3_2_3B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_3_B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_3B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_3B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_2_3B_INSTRUCT_V1BedrockFoundationModel static #
Meta's Llama 3.2 3B Instruct model, compact efficient model. Lightweight model for basic instruction processing.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Basic instructions, efficient processing
META_LLAMA_3_3_70B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_3_70_B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_3_70B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_3_70B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_3_3_70B_INSTRUCT_V1BedrockFoundationModel static #
Meta's Llama 3.3 70B Instruct model, latest large-scale model. Advanced model with enhanced capabilities.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Complex reasoning, advanced language tasks
META_LLAMA_4_MAVERICK_17B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_4_MAVERICK_17_B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_4_MAVERICK_17B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_4_MAVERICK_17B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_4_MAVERICK_17B_INSTRUCT_V1BedrockFoundationModel static #
Meta's Llama 4 Maverick 17B Instruct model, innovative mid-sized model. Specialized for creative and dynamic responses.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Creative tasks, innovative solutions
META_LLAMA_4_SCOUT_17B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_4_SCOUT_17_B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_4_SCOUT_17B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_4_SCOUT_17B_INSTRUCT_V1BedrockFoundationModelMETA_LLAMA_4_SCOUT_17B_INSTRUCT_V1BedrockFoundationModel static #
Meta's Llama 4 Scout 17B Instruct model, analytical mid-sized model. Focused on precise and analytical responses.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Analytical tasks, precise responses
MISTRAL_7B_INSTRUCT_V0BedrockFoundationModelMISTRAL_7_B_INSTRUCT_V0BedrockFoundationModelMISTRAL_7B_INSTRUCT_V0BedrockFoundationModelMISTRAL_7B_INSTRUCT_V0BedrockFoundationModelMISTRAL_7B_INSTRUCT_V0BedrockFoundationModel static #
Mistral's 7B Instruct model, efficient instruction-following model. Balanced performance for instruction processing.

Features:

  • Supports Bedrock Agents integration
  • Optimized for instruction tasks
  • Best for: General instruction processing, balanced performance
MISTRAL_LARGE_2402_V1BedrockFoundationModelMISTRAL_LARGE_2402_V1BedrockFoundationModelMISTRAL_LARGE_2402_V1BedrockFoundationModelMISTRAL_LARGE_2402_V1BedrockFoundationModelMISTRAL_LARGE_2402_V1BedrockFoundationModel static #
Mistral's Large 2402 model, high-capacity language model. Advanced model for complex language understanding.

Features:

  • Supports Bedrock Agents integration
  • Enhanced language capabilities
  • Best for: Complex reasoning, detailed analysis
MISTRAL_LARGE_2407_V1BedrockFoundationModelMISTRAL_LARGE_2407_V1BedrockFoundationModelMISTRAL_LARGE_2407_V1BedrockFoundationModelMISTRAL_LARGE_2407_V1BedrockFoundationModelMISTRAL_LARGE_2407_V1BedrockFoundationModel static #
Mistral's Large 2407 model, updated large-scale model. Enhanced version with improved capabilities.

Features:

  • Supports Bedrock Agents integration
  • Advanced language processing
  • Best for: Sophisticated language tasks, complex analysis
MISTRAL_MIXTRAL_8X7B_INSTRUCT_V0BedrockFoundationModelMISTRAL_MIXTRAL_8_X7_B_INSTRUCT_V0BedrockFoundationModelMISTRAL_MIXTRAL_8X7B_INSTRUCT_V0BedrockFoundationModelMISTRAL_MIXTRAL_8X7B_INSTRUCT_V0BedrockFoundationModelMISTRAL_MIXTRAL_8X7B_INSTRUCT_V0BedrockFoundationModel static #
Mistral's Mixtral 8x7B Instruct model, mixture-of-experts architecture. Advanced model combining multiple expert networks.

Features:

  • Supports Bedrock Agents integration
  • Specialized expert networks
  • Best for: Complex tasks, diverse language understanding
MISTRAL_PIXTRAL_LARGE_2502_V1BedrockFoundationModelMISTRAL_PIXTRAL_LARGE_2502_V1BedrockFoundationModelMISTRAL_PIXTRAL_LARGE_2502_V1BedrockFoundationModelMISTRAL_PIXTRAL_LARGE_2502_V1BedrockFoundationModelMISTRAL_PIXTRAL_LARGE_2502_V1BedrockFoundationModel static #
Mistral's Pixtral Large 2502 model, specialized large model. Advanced model with cross-region support.

Features:

  • Supports Bedrock Agents integration
  • Cross-region support
  • Best for: Advanced language tasks, distributed applications
MISTRAL_SMALL_2402_V1BedrockFoundationModelMISTRAL_SMALL_2402_V1BedrockFoundationModelMISTRAL_SMALL_2402_V1BedrockFoundationModelMISTRAL_SMALL_2402_V1BedrockFoundationModelMISTRAL_SMALL_2402_V1BedrockFoundationModel static #
Mistral's Small 2402 model, compact efficient model. Optimized for quick responses and efficiency.

Features:

  • Supports Bedrock Agents integration
  • Efficient processing
  • Best for: Quick responses, basic language tasks
modelArnstringmodel_arnstrmodelArnStringModelArnstringModelArn*string #
The ARN of the foundation model.

Format: arn:{Partition}:bedrock:{Region}::foundation-model/${ResourceId}

modelIdstringmodel_idstrmodelIdStringModelIdstringModelId*string #
The unique identifier of the foundation model.
OPENAI_GPT_5_6_LUNABedrockFoundationModelOPENAI_GPT_5_6_LUNABedrockFoundationModelOPENAI_GPT_5_6_LUNABedrockFoundationModelOPENAI_GPT_5_6_LUNABedrockFoundationModelOPENAI_GPT_5_6_LUNABedrockFoundationModel static #
OpenAI's GPT-5.6 Luna model, fast and affordable inference. The lowest cost model of the GPT-5.6 family, built for high-volume tasks.

Features:

  • Cross-region support (us., in. and global. inference profiles only; no in-Region invocation)
  • Not supported by Bedrock Agents
  • Best for: Classification, summarization, routing, real-time applications
OPENAI_GPT_5_6_SOLBedrockFoundationModelOPENAI_GPT_5_6_SOLBedrockFoundationModelOPENAI_GPT_5_6_SOLBedrockFoundationModelOPENAI_GPT_5_6_SOLBedrockFoundationModelOPENAI_GPT_5_6_SOLBedrockFoundationModel static #
OpenAI's GPT-5.6 Sol model, the most capable model of the GPT-5.6 family. Frontier reasoning and agentic performance across coding, cybersecurity, and scientific research.

Features:

  • Cross-region support (us. and global. inference profiles only; no in-Region invocation)
  • Not supported by Bedrock Agents
  • Best for: Complex reasoning, coding, scientific research
OPENAI_GPT_5_6_TERRABedrockFoundationModelOPENAI_GPT_5_6_TERRABedrockFoundationModelOPENAI_GPT_5_6_TERRABedrockFoundationModelOPENAI_GPT_5_6_TERRABedrockFoundationModelOPENAI_GPT_5_6_TERRABedrockFoundationModel static #
OpenAI's GPT-5.6 Terra model, balanced performance for production workloads. Competitive with GPT-5.5 at half the cost.

Features:

  • Cross-region support (us., in. and global. inference profiles only; no in-Region invocation)
  • Not supported by Bedrock Agents
  • Best for: Everyday production workloads at scale
OPENAI_GPT_6_1_SOLBedrockFoundationModelOPENAI_GPT_6_1_SOLBedrockFoundationModelOPENAI_GPT_6_1_SOLBedrockFoundationModelOPENAI_GPT_6_1_SOLBedrockFoundationModelOPENAI_GPT_6_1_SOLBedrockFoundationModel static #
OpenAI's GPT-6.1 Sol model, with performance approaching GPT-6 Astra on several demanding evaluations, at Sol pricing. Advances coding, professional work, and agentic workflows.

Features:

  • Cross-region support (us. and global. inference profiles only; no in-Region invocation)
  • Not supported by Bedrock Agents
  • Best for: Coding, professional work, agentic workflows
OPENAI_GPT_6_ASTRABedrockFoundationModelOPENAI_GPT_6_ASTRABedrockFoundationModelOPENAI_GPT_6_ASTRABedrockFoundationModelOPENAI_GPT_6_ASTRABedrockFoundationModelOPENAI_GPT_6_ASTRABedrockFoundationModel static #
OpenAI's GPT-6 Astra model, the most capable model of the GPT-6 family.
notes

Built for complex reasoning, coding, computer use, research, and document creation.

Features:

  • Cross-region support (us. and global. inference profiles only; no in-Region invocation)
  • Not supported by Bedrock Agents
  • Best for: Complex reasoning, coding, computer use, research
OPENAI_GPT_6_LUNABedrockFoundationModelOPENAI_GPT_6_LUNABedrockFoundationModelOPENAI_GPT_6_LUNABedrockFoundationModelOPENAI_GPT_6_LUNABedrockFoundationModelOPENAI_GPT_6_LUNABedrockFoundationModel static #
OpenAI's GPT-6 Luna model, designed for focused, high-volume tasks.

Features:

  • Cross-region support (us. and global. inference profiles only; no in-Region invocation)
  • Not supported by Bedrock Agents
  • Best for: Focused, high-volume tasks
OPENAI_GPT_6_SOLBedrockFoundationModelOPENAI_GPT_6_SOLBedrockFoundationModelOPENAI_GPT_6_SOLBedrockFoundationModelOPENAI_GPT_6_SOLBedrockFoundationModelOPENAI_GPT_6_SOLBedrockFoundationModel static #
OpenAI's GPT-6 Sol model, built for complex coding and agentic workflows.

Features:

  • Cross-region support (us. and global. inference profiles only; no in-Region invocation)
  • Not supported by Bedrock Agents
  • Best for: Complex coding, agentic workflows
OPENAI_GPT_OSS_120B_V1BedrockFoundationModelOPENAI_GPT_OSS_120_B_V1BedrockFoundationModelOPENAI_GPT_OSS_120B_V1BedrockFoundationModelOPENAI_GPT_OSS_120B_V1BedrockFoundationModelOPENAI_GPT_OSS_120B_V1BedrockFoundationModel static #
OpenAI's gpt-oss-120b model, 120-billion parameter open-weight model. General-purpose model for text generation, coding, and reasoning tasks.

Features:

  • In-Region invocation
  • Not supported by Bedrock Agents
  • Best for: Text generation, coding, reasoning
OPENAI_GPT_OSS_20B_V1BedrockFoundationModelOPENAI_GPT_OSS_20_B_V1BedrockFoundationModelOPENAI_GPT_OSS_20B_V1BedrockFoundationModelOPENAI_GPT_OSS_20B_V1BedrockFoundationModelOPENAI_GPT_OSS_20B_V1BedrockFoundationModel static #
OpenAI's gpt-oss-20b model, 20-billion parameter open-weight model. Efficient model for text generation and coding at lower compute cost.

Features:

  • In-Region invocation
  • Not supported by Bedrock Agents
  • Best for: Efficient text generation, coding
OPENAI_GPT_OSS_SAFEGUARD_120BBedrockFoundationModelOPENAI_GPT_OSS_SAFEGUARD_120_BBedrockFoundationModelOPENAI_GPT_OSS_SAFEGUARD_120BBedrockFoundationModelOPENAI_GPT_OSS_SAFEGUARD_120BBedrockFoundationModelOPENAI_GPT_OSS_SAFEGUARD_120BBedrockFoundationModel static #
OpenAI's GPT OSS Safeguard 120B model, open-weight safety model. Built for content moderation and guardrail enforcement in AI applications.

Features:

  • In-Region invocation
  • Not supported by Bedrock Agents
  • Best for: Content moderation, guardrail enforcement
OPENAI_GPT_OSS_SAFEGUARD_20BBedrockFoundationModelOPENAI_GPT_OSS_SAFEGUARD_20_BBedrockFoundationModelOPENAI_GPT_OSS_SAFEGUARD_20BBedrockFoundationModelOPENAI_GPT_OSS_SAFEGUARD_20BBedrockFoundationModelOPENAI_GPT_OSS_SAFEGUARD_20BBedrockFoundationModel static #
OpenAI's GPT OSS Safeguard 20B model, compact open-weight safety model. Built for lightweight content moderation and guardrail tasks.

Features:

  • In-Region invocation
  • Not supported by Bedrock Agents
  • Best for: Lightweight content moderation, guardrail tasks
supportedVectorTypemay be undefinedVectorType[]supported_vector_typemay be undefinedtyping.List[VectorType]supportedVectorTypemay be undefinedList<VectorType>SupportedVectorTypemay be undefinedVectorType[]SupportedVectorTypemay be undefined*[]VectorType #
The vector types supported by this model for embeddings.

Defines whether the model supports floating-point or binary vectors.

supportsAgentsbooleansupports_agentsboolsupportsAgentsBooleanSupportsAgentsboolSupportsAgents*bool #
Whether this model supports integration with Bedrock Agents.

When true, the model can be used with Bedrock Agents for automated task execution.

supportsConfigurableDimensionsbooleansupports_configurable_dimensionsboolsupportsConfigurableDimensionsBooleanSupportsConfigurableDimensionsboolSupportsConfigurableDimensions*bool #
Whether the number of vector dimensions can be chosen when the model is used by a knowledge base.

Only applicable for embedding models.

supportsCrossRegionbooleansupports_cross_regionboolsupportsCrossRegionBooleanSupportsCrossRegionboolSupportsCrossRegion*bool #
Whether this model supports cross-region inference.

When true, the model can be used with Cross-Region Inference Profiles.

supportsKnowledgeBasebooleansupports_knowledge_baseboolsupportsKnowledgeBaseBooleanSupportsKnowledgeBaseboolSupportsKnowledgeBase*bool #
Whether this model supports integration with Bedrock Knowledge Base.

When true, the model can be used for knowledge base operations.

TITAN_EMBED_TEXT_V1BedrockFoundationModelTITAN_EMBED_TEXT_V1BedrockFoundationModelTITAN_EMBED_TEXT_V1BedrockFoundationModelTITAN_EMBED_TEXT_V1BedrockFoundationModelTITAN_EMBED_TEXT_V1BedrockFoundationModel static #
Amazon's Titan Embed Text V1 model for text embeddings.

Features:

  • Supports Knowledge Base integration
  • 1536-dimensional vectors
  • Floating-point vector type
  • Best for: Text embeddings, semantic search, document similarity
TITAN_EMBED_TEXT_V2_1024BedrockFoundationModelTITAN_EMBED_TEXT_V2_1024BedrockFoundationModelTITAN_EMBED_TEXT_V2_1024BedrockFoundationModelTITAN_EMBED_TEXT_V2_1024BedrockFoundationModelTITAN_EMBED_TEXT_V2_1024BedrockFoundationModel static #
Amazon's Titan Embed Text V2 model with 1024-dimensional vectors.

Features:

  • Supports Knowledge Base integration
  • 1024-dimensional vectors
  • Supports both floating-point and binary vectors
  • Best for: High-dimensional embeddings, advanced semantic search
TITAN_EMBED_TEXT_V2_256BedrockFoundationModelTITAN_EMBED_TEXT_V2_256BedrockFoundationModelTITAN_EMBED_TEXT_V2_256BedrockFoundationModelTITAN_EMBED_TEXT_V2_256BedrockFoundationModelTITAN_EMBED_TEXT_V2_256BedrockFoundationModel static #
Amazon's Titan Embed Text V2 model with 256-dimensional vectors.

Features:

  • Supports Knowledge Base integration
  • 256-dimensional vectors
  • Supports both floating-point and binary vectors
  • Best for: Efficient embeddings with lower dimensionality
TITAN_EMBED_TEXT_V2_512BedrockFoundationModelTITAN_EMBED_TEXT_V2_512BedrockFoundationModelTITAN_EMBED_TEXT_V2_512BedrockFoundationModelTITAN_EMBED_TEXT_V2_512BedrockFoundationModelTITAN_EMBED_TEXT_V2_512BedrockFoundationModel static #
Amazon's Titan Embed Text V2 model with 512-dimensional vectors.

Features:

  • Supports Knowledge Base integration
  • 512-dimensional vectors
  • Supports both floating-point and binary vectors
  • Best for: Balanced performance and dimensionality
vectorDimensionsmay be undefinednumbervector_dimensionsmay be undefinedint | floatvectorDimensionsmay be undefinedNumberVectorDimensionsmay be undefineddoubleVectorDimensionsmay be undefined*float64 #
The dimensionality of the vector embeddings produced by this model.

Only applicable for embedding models.

Methods ​

asArn(): stringdef as_arn(self, ) -> strpublic String asArn()public string AsArn()func AsArn() *string #
Returns the ARN of the foundation model in the following format: `arn:${Partition}:bedrock:${Region}::foundation-model/${ResourceId}`.
asIModel(): IModeldef as_i_model(self, ) -> IModelpublic IModel asIModel()public IModel AsIModel()func AsIModel() IModel #
Returns the IModel.
fromCdkFoundationModel(modelId: FoundationModel, props?: BedrockFoundationModelProps): BedrockFoundationModel // chainable@staticmethod def from_cdk_foundation_model(model_id: FoundationModel, props: typing.Optional[BedrockFoundationModelProps] = None) -> BedrockFoundationModelpublic static BedrockFoundationModel fromCdkFoundationModel(FoundationModel modelId, BedrockFoundationModelProps props)public static BedrockFoundationModel FromCdkFoundationModel(FoundationModel modelId, BedrockFoundationModelProps? props = null)func FromCdkFoundationModel(ModelId FoundationModel, Props BedrockFoundationModelProps) BedrockFoundationModel static #
Creates a BedrockFoundationModel from a FoundationModel.

Use this method when you have a foundation model from the CDK.

2 parameters · returns

Parameters

  • modelIdmodel_idmodelIdmodelIdModelId — - The foundation model.
  • propspropspropspropsProps — - Optional properties for the model.

Returns: A new BedrockFoundationModel instance

fromCdkFoundationModelId(modelId: FoundationModelIdentifier, props?: BedrockFoundationModelProps): BedrockFoundationModel // chainable@staticmethod def from_cdk_foundation_model_id(model_id: FoundationModelIdentifier, props: typing.Optional[BedrockFoundationModelProps] = None) -> BedrockFoundationModelpublic static BedrockFoundationModel fromCdkFoundationModelId(FoundationModelIdentifier modelId, BedrockFoundationModelProps props)public static BedrockFoundationModel FromCdkFoundationModelId(FoundationModelIdentifier modelId, BedrockFoundationModelProps? props = null)func FromCdkFoundationModelId(ModelId FoundationModelIdentifier, Props BedrockFoundationModelProps) BedrockFoundationModel static #
Creates a BedrockFoundationModel from a FoundationModelIdentifier.

Use this method when you have a model identifier from the CDK.

2 parameters · returns

Parameters

  • modelIdmodel_idmodelIdmodelIdModelId — - The foundation model identifier.
  • propspropspropspropsProps — - Optional properties for the model.

Returns: A new BedrockFoundationModel instance

grantInvoke(grantee: IGrantable): Grantdef grant_invoke(self, grantee: IGrantable) -> Grantpublic Grant grantInvoke(IGrantable grantee)public Grant GrantInvoke(IGrantable grantee)func GrantInvoke(Grantee IGrantable) Grant #
Gives the appropriate policies to invoke and use the Foundation Model in the stack region.

[disable-awslint:no-grants]

grantInvokeAllRegions(grantee: IGrantable): Grantdef grant_invoke_all_regions(self, grantee: IGrantable) -> Grantpublic Grant grantInvokeAllRegions(IGrantable grantee)public Grant GrantInvokeAllRegions(IGrantable grantee)func GrantInvokeAllRegions(Grantee IGrantable) Grant #
Gives the appropriate policies to invoke and use the Foundation Model in all regions.

[disable-awslint:no-grants]

toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string #
Returns a string representation of an object.