View a markdown version of this page

RouteToTargetAction - Amazon Bedrock AgentCore Control Plane

RouteToTargetAction

An action that routes requests to a gateway target, either statically or with weighted traffic splitting.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

staticRoute

A static route that sends all matching requests to a single target.

Type: StaticRoute object

Required: No

weightedRoute

A weighted route that splits traffic between multiple targets.

Type: WeightedRoute object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: