Skip to content
v2.274.0

Experimental

@aws-cdk/aws-bedrock-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

IPromptRouter Interface ​

Represents a Prompt Router, which provides intelligent routing between different models.

Properties ​

promptRouterArnstringprompt_router_arnstrpromptRouterArnStringPromptRouterArnstringPromptRouterArn*stringrequired#
The ARN of the prompt router.
promptRouterIdstringprompt_router_idstrpromptRouterIdStringPromptRouterIdstringPromptRouterId*stringrequired#
The ID of the prompt router.
routingEndpointsIBedrockInvokable[]routing_endpointstyping.List[IBedrockInvokable]routingEndpointsList<IBedrockInvokable>RoutingEndpointsIBedrockInvokable[]RoutingEndpoints*[]IBedrockInvokablerequired#
The foundation models / profiles this router will route to.