Interface PromptRouterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PromptRouterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-08-06T18:14:48.080Z")
@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 class
A builder forPromptRouterProps
static final class
An implementation forPromptRouterProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic PromptRouterProps.Builder
builder()
(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.Builder
ofPromptRouterProps
-