Show / Hide Table of Contents

Class CfnListenerRule.HttpHeaderConfigProperty

Information about an HTTP header condition.

Inheritance
System.Object
CfnListenerRule.HttpHeaderConfigProperty
Implements
CfnListenerRule.IHttpHeaderConfigProperty
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class HttpHeaderConfigProperty : Object, CfnListenerRule.IHttpHeaderConfigProperty
Syntax (vb)
Public Class HttpHeaderConfigProperty
    Inherits Object
    Implements CfnListenerRule.IHttpHeaderConfigProperty
Remarks

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httpheaderconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;

var httpHeaderConfigProperty = new HttpHeaderConfigProperty {
    HttpHeaderName = "httpHeaderName",
    Values = new [] { "values" }
};

Synopsis

Constructors

HttpHeaderConfigProperty()

Properties

HttpHeaderName

The name of the HTTP header field.

Values

The strings to compare against the value of the HTTP header.

Constructors

HttpHeaderConfigProperty()

public HttpHeaderConfigProperty()

Properties

HttpHeaderName

The name of the HTTP header field.

public string HttpHeaderName { get; set; }
Property Value

System.String

Remarks

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httpheaderconfig.html#cfn-elasticloadbalancingv2-listenerrule-httpheaderconfig-httpheadername

Values

The strings to compare against the value of the HTTP header.

public string[] Values { get; set; }
Property Value

System.String[]

Remarks

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httpheaderconfig.html#cfn-elasticloadbalancingv2-listenerrule-httpheaderconfig-values

Implements

CfnListenerRule.IHttpHeaderConfigProperty
Back to top Generated by DocFX