interface CfnIntelligentPromptRouterProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.aws_bedrock.CfnIntelligentPromptRouterProps | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnIntelligentPromptRouterProps | 
|  Java | software.amazon.awscdk.services.bedrock.CfnIntelligentPromptRouterProps | 
|  Python | aws_cdk.aws_bedrock.CfnIntelligentPromptRouterProps | 
|  TypeScript | aws-cdk-lib»aws_bedrock»CfnIntelligentPromptRouterProps | 
Properties for defining a CfnIntelligentPromptRouter.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const cfnIntelligentPromptRouterProps: bedrock.CfnIntelligentPromptRouterProps = {
  fallbackModel: {
    modelArn: 'modelArn',
  },
  models: [{
    modelArn: 'modelArn',
  }],
  promptRouterName: 'promptRouterName',
  routingCriteria: {
    responseQualityDifference: 123,
  },
  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| fallback | IResolvable | Prompt | The default model to use when the routing criteria is not met. | 
| models | IResolvable | (IResolvable | Prompt)[] | A list of foundation models that the prompt router can route requests to. | 
| prompt | string | The name of the prompt router. | 
| routing | IResolvable | Routing | Routing criteria for a prompt router. | 
| description? | string | An optional description of the prompt router to help identify its purpose. | 
| tags? | Cfn[] | An array of key-value pairs to apply to this resource as tags. | 
fallbackModel
Type:
IResolvable | Prompt
The default model to use when the routing criteria is not met.
models
Type:
IResolvable | (IResolvable | Prompt)[]
A list of foundation models that the prompt router can route requests to.
At least one model must be specified.
promptRouterName
Type:
string
The name of the prompt router.
The name must be unique within your AWS account in the current region.
routingCriteria
Type:
IResolvable | Routing
Routing criteria for a prompt router.
description?
Type:
string
(optional)
An optional description of the prompt router to help identify its purpose.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource as tags.
You can use tags to categorize and manage your AWS resources.
