HttpRouteHeaderMatchArgs

data class HttpRouteHeaderMatchArgs(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<HttpRouteHeaderMatchIntegerRangeArgs>? = null, val regexMatch: Output<String>? = null, val suffixMatch: Output<String>? = null) : ConvertibleToJava<HttpRouteHeaderMatchArgs>

Specifies how to select a route rule based on HTTP request headers.

Constructors

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

Functions

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

Properties

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

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

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 prefix_match.

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

A header with header_name 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.

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

The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax

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

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