LBHttpRequestHeaderCondition

This condition is used to match HTTP request messages by HTTP header fields. HTTP header fields are components of the header section of HTTP request and response messages. They define the operating parameters of an HTTP transaction. For example, Cookie, Authorization, User-Agent, etc. One condition can be used to match one header field, to match multiple header fields, multiple conditions must be specified. The match_type field defines how header_value field is used to match HTTP requests. The header_name field does not support match types.


Properties

boolean
case_sensitive Optional

If true, case is significant when comparing HTTP header value.


string
header_name Optional

Name of HTTP header


string
header_value Optional

Value of HTTP header


boolean
inverse Optional

A flag to indicate whether reverse the match result of this condition


string
match_type Optional

Match type of HTTP header value

Possible values are: STARTS_WITHENDS_WITHEQUALSCONTAINSREGEX


string
type Required

Type of load balancer rule condition

Possible values are: LBHttpRequestUriConditionLBHttpRequestHeaderConditionLBHttpRequestMethodConditionLBHttpRequestUriArgumentsConditionLBHttpRequestVersionConditionLBHttpRequestCookieConditionLBHttpRequestBodyConditionLBHttpResponseHeaderConditionLBTcpHeaderConditionLBIpHeaderConditionLBVariableConditionLBHttpSslCondition

Extends

LBRuleCondition

JSON Example

{
    "type": "string"
}
Feedback

Was this page helpful?