View a markdown version of this page

RouteToTargetAction - Amazon Bedrock AgentCore Control Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: