TcpRouteRouteRule constructor

const TcpRouteRouteRule({
  1. required Input<TcpRouteRouteAction> action,
  2. Input<List<TcpRouteRouteMatch>>? matches,
})

Creates a new TcpRouteRouteRule. action The detailed rule defining how to route matched traffic. matches Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

Implementation

const TcpRouteRouteRule({
  required this.action,
  this.matches,
});