Interface CfnIntelligentPromptRouterMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIntelligentPromptRouterMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:56.602Z")
@Stability(Stable)
public interface CfnIntelligentPromptRouterMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnIntelligentPromptRouterPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrock.*;
CfnIntelligentPromptRouterMixinProps cfnIntelligentPromptRouterMixinProps = CfnIntelligentPromptRouterMixinProps.builder()
.description("description")
.fallbackModel(PromptRouterTargetModelProperty.builder()
.modelArn("modelArn")
.build())
.models(List.of(PromptRouterTargetModelProperty.builder()
.modelArn("modelArn")
.build()))
.promptRouterName("promptRouterName")
.routingCriteria(RoutingCriteriaProperty.builder()
.responseQualityDifference(123)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIntelligentPromptRouterMixinPropsstatic final classAn implementation forCfnIntelligentPromptRouterMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAn optional description of the prompt router to help identify its purpose.default ObjectThe default model to use when the routing criteria is not met.default ObjectA list of foundation models that the prompt router can route requests to.default StringThe name of the prompt router.default ObjectRouting 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
-
getDescription
An optional description of the prompt router to help identify its purpose.- See Also:
-
getFallbackModel
The default model to use when the routing criteria is not met.Returns union: either
IResolvableorCfnIntelligentPromptRouterPropsMixin.PromptRouterTargetModelProperty- See Also:
-
getModels
A list of foundation models that the prompt router can route requests to.At least one model must be specified.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnIntelligentPromptRouterPropsMixin.PromptRouterTargetModelProperty>- 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.Returns union: either
IResolvableorCfnIntelligentPromptRouterPropsMixin.RoutingCriteriaProperty- 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
-