CrossRegionInferenceProfileProps

class aws_cdk.aws_bedrock_alpha.CrossRegionInferenceProfileProps(*, geo_region, model)

Bases: object

(experimental) Properties for creating a Cross-Region Inference Profile.

Parameters:
  • geo_region (CrossRegionInferenceProfileRegion) – (experimental) The geographic region where the traffic is going to be distributed. Routing factors in user traffic, demand and utilization of resources.

  • model (BedrockFoundationModel) – (experimental) A foundation model supporting cross-region inference. The model must have cross-region support enabled.

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_V2_0
)

# Create an application inference profile across regions
app_profile = bedrock.ApplicationInferenceProfile(self, "MyMultiRegionProfile",
    application_inference_profile_name="claude-35-sonnet-v2-multi-region",
    model_source=cross_region_profile,
    description="Multi-region application profile for cost tracking"
)

Attributes

geo_region

(experimental) The geographic region where the traffic is going to be distributed.

Routing factors in user traffic, demand and utilization of resources.

Stability:

experimental

model

(experimental) A foundation model supporting cross-region inference.

The model must have cross-region support enabled.

See:

https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html

Stability:

experimental