AgentcoreGatewayRuleActionRouteToTarget constructor
const
AgentcoreGatewayRuleActionRouteToTarget({
- Input<
AgentcoreGatewayRuleActionRouteToTargetStaticRoute?> ? staticRoute, - Input<
AgentcoreGatewayRuleActionRouteToTargetWeightedRoute?> ? weightedRoute,
Creates a new AgentcoreGatewayRuleActionRouteToTarget.
staticRoute Route all matching requests to a single named gateway target.
weightedRoute Distribute requests across two named targets by weight.
Implementation
const AgentcoreGatewayRuleActionRouteToTarget({
this.staticRoute,
this.weightedRoute,
});