Interface PromptRouterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PromptRouterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:04.523Z")
@Stability(Experimental)
public interface PromptRouterProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for configuring a Prompt Router.
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.alpha.*;
BedrockFoundationModel bedrockFoundationModel;
PromptRouterProps promptRouterProps = PromptRouterProps.builder()
.promptRouterId("promptRouterId")
.routingModels(List.of(bedrockFoundationModel))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPromptRouterPropsstatic final classAn implementation forPromptRouterProps -
Method Summary
Modifier and TypeMethodDescriptionstatic PromptRouterProps.Builderbuilder()(experimental) Prompt Router ID that identifies the routing configuration.(experimental) The foundation models this router will route to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPromptRouterId
(experimental) Prompt Router ID that identifies the routing configuration. -
getRoutingModels
(experimental) The foundation models this router will route to.The router will intelligently select between these models based on the request.
-
builder
- Returns:
- a
PromptRouterProps.BuilderofPromptRouterProps
-