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)

  • Osaka (ap-northeast-3)

  • Mumbai (ap-south-1)

  • Hyderabad (ap-south-2)

  • Singapore (ap-southeast-1)

  • Sydney (ap-southeast-2)

  • Jakarta (ap-southeast-3)

  • Melbourne (ap-southeast-4)

  • Malaysia (ap-southeast-5)

  • Thailand (ap-southeast-7)

  • Taipei (ap-east-2)

  • Middle East (UAE) (me-central-1)

Stability:

experimental

AU

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

According to the model chosen, this might include:

  • Sydney (ap-southeast-2)

  • Melbourne (ap-southeast-4)

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)

  • London (eu-west-2)

  • Stockholm (eu-north-1)

  • Milan (eu-south-1)

  • Spain (eu-south-2)

  • Zurich (eu-central-2)

Stability:

experimental

GLOBAL

(experimental) Global cross-region Inference Identifier.

Routes requests to any supported commercial AWS Region.

Stability:

experimental

JP

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

According to the model chosen, this might include:

  • Tokyo (ap-northeast-1)

  • Osaka (ap-northeast-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)

  • Ohio (us-east-2)

  • Oregon (us-west-2)

Stability:

experimental

US_GOV

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

According to the model chosen, this might include:

  • GovCloud US-East (us-gov-east-1)

  • GovCloud US-West (us-gov-west-1)

Stability:

experimental