interface ApplicationInferenceProfileProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Bedrock.Alpha.ApplicationInferenceProfileProps |
![]() | github.com/aws/aws-cdk-go/awsbedrockalpha/v2#ApplicationInferenceProfileProps |
![]() | software.amazon.awscdk.services.bedrock.alpha.ApplicationInferenceProfileProps |
![]() | aws_cdk.aws_bedrock_alpha.ApplicationInferenceProfileProps |
![]() | @aws-cdk/aws-bedrock-alpha ยป ApplicationInferenceProfileProps |
Properties for creating an Application 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 |
---|---|---|
application | string | The name of the application inference profile. |
model | IBedrock | The model source for this inference profile. |
description? | string | Description of the inference profile. Provides additional context about the purpose and usage of this inference profile. |
tags? | { [string]: string } | A list of tags associated with the inference profile. |
applicationInferenceProfileName
Type:
string
The name of the application inference profile.
This name will be used to identify the inference profile in the AWS console and APIs.
- Required: Yes
- Maximum length: 64 characters
- Pattern:
^([0-9a-zA-Z:.][ _-]?)+$
modelSource
Type:
IBedrock
The model source for this inference profile.
To create an application inference profile for one Region, specify a foundation model. Usage and costs for requests made to that Region with that model will be tracked.
To create an application inference profile for multiple Regions, specify a cross region (system-defined) inference profile. The inference profile will route requests to the Regions defined in the cross region (system-defined) inference profile that you choose. Usage and costs for requests made to the Regions in the inference profile will be tracked.
description?
Type:
string
(optional, default: No description is provided)
Description of the inference profile. Provides additional context about the purpose and usage of this inference profile.
- Maximum length: 200 characters when provided
- Pattern:
^([0-9a-zA-Z:.][ _-]?)+$
tags?
Type:
{ [string]: string }
(optional, default: No tags are applied)
A list of tags associated with the inference profile.
Tags help you organize and categorize your AWS resources.