RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs

data class RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs(val exactMatch: Output<String>? = null, val headerName: Output<String>, val invertMatch: Output<Boolean>? = null, val prefixMatch: Output<String>? = null, val presentMatch: Output<Boolean>? = null, val rangeMatch: Output<RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs>? = null, val regexMatch: Output<String>? = null, val suffixMatch: Output<String>? = null) : ConvertibleToJava<RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchArgs>

Constructors

constructor(exactMatch: Output<String>? = null, headerName: Output<String>, invertMatch: Output<Boolean>? = null, prefixMatch: Output<String>? = null, presentMatch: Output<Boolean>? = null, rangeMatch: Output<RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs>? = null, regexMatch: Output<String>? = null, suffixMatch: Output<String>? = null)

Properties

Link copied to clipboard
val exactMatch: Output<String>? = null

The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.

Link copied to clipboard
val headerName: Output<String>

The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method".

Link copied to clipboard
val invertMatch: Output<Boolean>? = null

If set to false, the headerMatch is considered a match if the match criteria above are met. If set to true, the headerMatch is considered a match if the match criteria above are NOT met. Defaults to false.

Link copied to clipboard
val prefixMatch: Output<String>? = null

The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.

Link copied to clipboard
val presentMatch: Output<Boolean>? = null

A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value or not. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.

Link copied to clipboard

The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range -5, 0

Link copied to clipboard
val regexMatch: Output<String>? = null

The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.

Link copied to clipboard
val suffixMatch: Output<String>? = null

The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.

Functions

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