HttpRouteRuleMatchHeaderArgs

data class HttpRouteRuleMatchHeaderArgs(val exactMatch: Output<String>? = null, val header: Output<String>? = null, val invertMatch: Output<Boolean>? = null, val prefixMatch: Output<String>? = null, val presentMatch: Output<Boolean>? = null, val rangeMatch: Output<HttpRouteRuleMatchHeaderRangeMatchArgs>? = null, val regexMatch: Output<String>? = null, val suffixMatch: Output<String>? = null) : ConvertibleToJava<HttpRouteRuleMatchHeaderArgs>

Constructors

Link copied to clipboard
constructor(exactMatch: Output<String>? = null, header: Output<String>? = null, invertMatch: Output<Boolean>? = null, prefixMatch: Output<String>? = null, presentMatch: Output<Boolean>? = null, rangeMatch: Output<HttpRouteRuleMatchHeaderRangeMatchArgs>? = null, regexMatch: Output<String>? = null, suffixMatch: Output<String>? = null)

Properties

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

The value of the header should match exactly the content of exactMatch.

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

The name of the HTTP header to match against.

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

If specified, the match result will be inverted before checking. Default value is set to false.

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

The value of the header must start with the contents of prefixMatch.

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

A header with headerName must exist. The match takes place whether or not the header has a value.

Link copied to clipboard

If specified, the rule will match if the request header value is within the range. Structure is documented below.

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

The value of the header must match the regular expression specified in regexMatch.

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

The value of the header must end with the contents of suffixMatch.

Functions

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