RouteSpecHttpRouteActionWeightedTarget constructor

const RouteSpecHttpRouteActionWeightedTarget({
  1. Input<int?>? port,
  2. required Input<String> virtualNode,
  3. required Input<int> weight,
})

Creates a new RouteSpecHttpRouteActionWeightedTarget. port Port number to match from the request. virtualNode Virtual node to associate with the weighted target. Must be between 1 and 255 characters in length. weight Relative weight of the weighted target. An integer between 0 and 100.

Implementation

const RouteSpecHttpRouteActionWeightedTarget({
  this.port,
  required this.virtualNode,
  required this.weight,
});