HttpRouteRouteRuleArgs

data class HttpRouteRouteRuleArgs(val action: Output<HttpRouteRouteActionArgs>? = null, val matches: Output<List<HttpRouteRouteMatchArgs>>? = null) : ConvertibleToJava<HttpRouteRouteRuleArgs>

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

Constructors

Link copied to clipboard
fun HttpRouteRouteRuleArgs(action: Output<HttpRouteRouteActionArgs>? = null, matches: Output<List<HttpRouteRouteMatchArgs>>? = null)

Functions

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

Properties

Link copied to clipboard
val action: Output<HttpRouteRouteActionArgs>? = null

The detailed rule defining how to route matched traffic.

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

A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.