AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Bedrock::IntelligentPromptRouter

CfnIntelligentPromptRouter

Specifies an intelligent prompt router resource for Amazon Bedrock .

Import

import { CfnIntelligentPromptRouter } from 'aws-cdk-lib/aws-bedrock';

Or use the module namespace:

import * as bedrock from 'aws-cdk-lib/aws-bedrock';
// bedrock.CfnIntelligentPromptRouter

Properties

Configuration passed to the constructor as CfnIntelligentPromptRouterProps.

fallbackModelRequired
IResolvable | PromptRouterTargetModelProperty

The default model to use when the routing criteria is not met.

modelsRequired
IResolvable | IResolvable | PromptRouterTargetModelProperty[]

A list of foundation models that the prompt router can route requests to. At least one model must be specified.

promptRouterNameRequired
string

The name of the prompt router. The name must be unique within your AWS account in the current region.

routingCriteriaRequired
IResolvable | RoutingCriteriaProperty

Routing criteria for a prompt router.

descriptionOptional
string

An optional description of the prompt router to help identify its purpose.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource as tags. You can use tags to categorize and manage your AWS resources.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter