CrossRegionInferenceProfileRegion

class aws_cdk.aws_bedrock_alpha.CrossRegionInferenceProfileRegion(*values)

Bases: Enum

(experimental) Geographic regions supported for cross-region inference profiles.

These regions help distribute traffic across multiple AWS regions for better throughput and resilience during peak demands.

Stability:

experimental

ExampleMetadata:

fixture=default infused

Example:

# Create a cross-region inference profile
cross_region_profile = bedrock.CrossRegionInferenceProfile.from_config(
    geo_region=bedrock.CrossRegionInferenceProfileRegion.US,
    model=bedrock.BedrockFoundationModel.ANTHROPIC_CLAUDE_3_5_SONNET_V1_0
)

# Use the cross-region profile with an agent
agent = bedrock.Agent(self, "Agent",
    foundation_model=cross_region_profile,
    instruction="You are a helpful and friendly agent that answers questions about agriculture."
)

Attributes

APAC

(experimental) Cross-region Inference Identifier for the Asia-Pacific area.

According to the model chosen, this might include:

  • Tokyo (ap-northeast-1)

  • Seoul (ap-northeast-2)

  • Mumbai (ap-south-1)

  • Singapore (ap-southeast-1)

  • Sydney (ap-southeast-2)

Stability:

experimental

EU

(experimental) Cross-region Inference Identifier for the European area.

According to the model chosen, this might include:

  • Frankfurt (eu-central-1)

  • Ireland (eu-west-1)

  • Paris (eu-west-3)

Stability:

experimental

US

(experimental) Cross-region Inference Identifier for the United States area.

According to the model chosen, this might include:

    1. Virginia (us-east-1)

  • Oregon (us-west-2)

  • Ohio (us-east-2)

Stability:

experimental