TcpRouteRouteRule constructor
const
TcpRouteRouteRule({
- required Input<
TcpRouteRouteAction> action, - Input<
List< ? matches,TcpRouteRouteMatch> >
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,
});