AWS::ElasticLoadBalancingV2::ListenerRule HttpHeaderConfig - AWS CloudFormation (original) (raw)

Information about an HTTP header condition.

There is a set of standard HTTP header fields. You can also define custom HTTP header fields.

To declare this entity in your AWS CloudFormation template, use the following syntax:

{
  "HttpHeaderName" : String,
  "Values" : [ String, ... ]
}
  HttpHeaderName: String
  Values: 
    - String

The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.

Required: No

Type: String

Update requires: No interruption

The strings to compare against the value of the HTTP header. The maximum size 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.

Required: No

Type: Array of String

Update requires: No interruption

HostHeaderConfig

HttpRequestMethodConfig

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.