Interface CfnIntelligentPromptRouterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIntelligentPromptRouterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-06-20T13:49:12.344Z")
@Stability(Stable)
public interface CfnIntelligentPromptRouterProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrock.*; CfnIntelligentPromptRouterProps cfnIntelligentPromptRouterProps = CfnIntelligentPromptRouterProps.builder() .fallbackModel(PromptRouterTargetModelProperty.builder() .modelArn("modelArn") .build()) .models(List.of(PromptRouterTargetModelProperty.builder() .modelArn("modelArn") .build())) .promptRouterName("promptRouterName") .routingCriteria(RoutingCriteriaProperty.builder() .responseQualityDifference(123) .build()) // the properties below are optional .description("description") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnIntelligentPromptRouterProps
static final class
An implementation forCfnIntelligentPromptRouterProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
An optional description of the prompt router to help identify its purpose.The default model to use when the routing criteria is not met.A list of foundation models that the prompt router can route requests to.The name of the prompt router.Routing criteria for a prompt router.getTags()
An array of key-value pairs to apply to this resource as tags.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFallbackModel
The default model to use when the routing criteria is not met.- See Also:
-
getModels
A list of foundation models that the prompt router can route requests to.At least one model must be specified.
- See Also:
-
getPromptRouterName
The name of the prompt router.The name must be unique within your AWS account in the current region.
- See Also:
-
getRoutingCriteria
Routing criteria for a prompt router.- See Also:
-
getDescription
An optional description of the prompt router to help identify its purpose.- See Also:
-
getTags
An array of key-value pairs to apply to this resource as tags.You can use tags to categorize and manage your AWS resources.
- See Also:
-
builder
-