Class: Aws::ElasticLoadBalancingV2::Types::HttpHeaderConditionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::HttpHeaderConditionConfig
- Defined in:
- gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb
Overview
Information about an HTTP header condition.
There is a set of standard HTTP header fields. You can also define custom HTTP header fields.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#http_header_name ⇒ String
The name of the HTTP header field.
-
#regex_values ⇒ Array<String>
The regular expression to compare against the HTTP header.
-
#values ⇒ Array<String>
The strings to compare against the value of the HTTP header.
Instance Attribute Details
#http_header_name ⇒ String
The name of the HTTP header field. The maximum length is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
You can't use an HTTP header condition to specify the host header. Instead, use a host condition.
2067 2068 2069 2070 2071 2072 2073 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2067 class HttpHeaderConditionConfig < Struct.new( :http_header_name, :values, :regex_values) SENSITIVE = [] include Aws::Structure end |
#regex_values ⇒ Array<String>
The regular expression to compare against the HTTP header. The maximum length of each string is 128 characters.
2067 2068 2069 2070 2071 2072 2073 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2067 class HttpHeaderConditionConfig < Struct.new( :http_header_name, :values, :regex_values) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<String>
The strings to compare against the value of the HTTP header. The maximum length of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If the same header appears multiple times in the request, we search them in order until a match is found.
If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
2067 2068 2069 2070 2071 2072 2073 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2067 class HttpHeaderConditionConfig < Struct.new( :http_header_name, :values, :regex_values) SENSITIVE = [] include Aws::Structure end |