Skip to content

Bedrock Agentcore Control  >  Unions  >  RouteToTargetAction

RouteToTargetAction

Union Type

RouteToTargetAction module-attribute

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

Union Member Types

RouteToTargetActionStaticRoute dataclass

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

Attributes

value instance-attribute
value: StaticRoute

RouteToTargetActionWeightedRoute dataclass

A weighted route that splits traffic between multiple targets.

Attributes

value instance-attribute

RouteToTargetActionUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str