interface CrossRegionInferenceProfileProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Bedrock.Alpha.CrossRegionInferenceProfileProps |
![]() | github.com/aws/aws-cdk-go/awsbedrockalpha/v2#CrossRegionInferenceProfileProps |
![]() | software.amazon.awscdk.services.bedrock.alpha.CrossRegionInferenceProfileProps |
![]() | aws_cdk.aws_bedrock_alpha.CrossRegionInferenceProfileProps |
![]() | @aws-cdk/aws-bedrock-alpha » CrossRegionInferenceProfileProps |
Properties for creating a Cross-Region Inference Profile.
Example
// Create a cross-region inference profile
const crossRegionProfile = bedrock.CrossRegionInferenceProfile.fromConfig({
geoRegion: bedrock.CrossRegionInferenceProfileRegion.US,
model: bedrock.BedrockFoundationModel.ANTHROPIC_CLAUDE_3_5_SONNET_V2_0,
});
// Create an application inference profile across regions
const appProfile = new bedrock.ApplicationInferenceProfile(this, 'MyMultiRegionProfile', {
applicationInferenceProfileName: 'claude-35-sonnet-v2-multi-region',
modelSource: crossRegionProfile,
description: 'Multi-region application profile for cost tracking',
});
Properties
Name | Type | Description |
---|---|---|
geo | Cross | The geographic region where the traffic is going to be distributed. |
model | Bedrock | A foundation model supporting cross-region inference. |
geoRegion
Type:
Cross
The geographic region where the traffic is going to be distributed.
Routing factors in user traffic, demand and utilization of resources.
model
Type:
Bedrock
A foundation model supporting cross-region inference.
The model must have cross-region support enabled.