RouteSpecHttp2RouteAction constructor

const RouteSpecHttp2RouteAction({
  1. required Input<List<RouteSpecHttp2RouteActionWeightedTarget>> weightedTargets,
})

Creates a new RouteSpecHttp2RouteAction. 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 RouteSpecHttp2RouteAction({
  required this.weightedTargets,
});