AWS::Bedrock::IntelligentPromptRouterSpecifies an intelligent prompt router resource for Amazon Bedrock .
import { CfnIntelligentPromptRouter } from 'aws-cdk-lib/aws-bedrock';Or use the module namespace:
import * as bedrock from 'aws-cdk-lib/aws-bedrock';
// bedrock.CfnIntelligentPromptRouterConfiguration passed to the constructor as CfnIntelligentPromptRouterProps.
fallbackModelRequiredIResolvable | PromptRouterTargetModelPropertyThe default model to use when the routing criteria is not met.
modelsRequiredIResolvable | IResolvable | PromptRouterTargetModelProperty[]A list of foundation models that the prompt router can route requests to. At least one model must be specified.
promptRouterNameRequiredstringThe name of the prompt router. The name must be unique within your AWS account in the current region.
routingCriteriaRequiredIResolvable | RoutingCriteriaPropertyRouting criteria for a prompt router.
descriptionOptionalstringAn optional description of the prompt router to help identify its purpose.
tagsOptionalCfnTag[]An array of key-value pairs to apply to this resource as tags. You can use tags to categorize and manage your AWS resources.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-bedrockAWS::Bedrock::IntelligentPromptRouter