TcpRouteRouteRuleArgs

data class TcpRouteRouteRuleArgs(val action: Output<TcpRouteRouteActionArgs>, val matches: Output<List<TcpRouteRouteMatchArgs>>? = null) : ConvertibleToJava<TcpRouteRouteRuleArgs>

Specifies how to match traffic and how to route traffic when traffic is matched.

Constructors

Link copied to clipboard
fun TcpRouteRouteRuleArgs(action: Output<TcpRouteRouteActionArgs>, matches: Output<List<TcpRouteRouteMatchArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TcpRouteRouteRuleArgs

Properties

Link copied to clipboard

The detailed rule defining how to route matched traffic.

Link copied to clipboard
val matches: Output<List<TcpRouteRouteMatchArgs>>? = null

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.