HttpRouteRuleArgs

data class HttpRouteRuleArgs(val action: Output<HttpRouteRuleActionArgs>? = null, val matches: Output<List<HttpRouteRuleMatchArgs>>? = null) : ConvertibleToJava<HttpRouteRuleArgs>

Constructors

Link copied to clipboard
constructor(action: Output<HttpRouteRuleActionArgs>? = null, matches: Output<List<HttpRouteRuleMatchArgs>>? = null)

Properties

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

The detailed rule defining how to route matched traffic. Structure is documented below.

Link copied to clipboard
val matches: Output<List<HttpRouteRuleMatchArgs>>? = 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. Structure is documented below.

Functions

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