ListenerRuleConditionHttpHeaderArgs

data class ListenerRuleConditionHttpHeaderArgs(val httpHeaderName: Output<String>, val values: Output<List<String>>) : ConvertibleToJava<ListenerRuleConditionHttpHeaderArgs>

Constructors

Link copied to clipboard
constructor(httpHeaderName: Output<String>, values: Output<List<String>>)

Properties

Link copied to clipboard
val httpHeaderName: Output<String>

Name of HTTP header to search. The maximum size is 40 characters. Comparison is case insensitive. Only RFC7240 characters are supported. Wildcards are not supported. You cannot use HTTP header condition to specify the host header, use a host-header condition instead.

Link copied to clipboard
val values: Output<List<String>>

List of header value patterns to match. Maximum size of each pattern is 128 characters. Comparison is case insensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). If the same header appears multiple times in the request they will be searched in order until a match is found. Only one pattern needs to match for the condition to be satisfied. To require that all of the strings are a match, create one condition block per string.

Functions

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