RouteSpecHttpRouteAction constructor

const RouteSpecHttpRouteAction({
  1. required Input<List<RouteSpecHttpRouteActionWeightedTarget>> weightedTargets,
})

Creates a new RouteSpecHttpRouteAction. weightedTargets Targets that traffic is routed to when a request matches the route. You can specify one or more targets and their relative weights with which to distribute traffic. See spec.tcp_route.action.weighted_target Block for details.

Implementation

const RouteSpecHttpRouteAction({
  required this.weightedTargets,
});