Show / Hide Table of Contents

Class ListenerRuleCondition

Inheritance
System.Object
ListenerRuleCondition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ApplicationLoadBalancing.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ListenerRuleCondition

Fields

View Source

Field

The type of condition. Valid values are host-header or path-pattern. Must also set values.

Declaration
public readonly string Field
Field Value
Type Description
System.String
View Source

HostHeader

Contains a single values item which is a list of host header patterns to match. The 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). Only one pattern needs to match for the condition to be satisfied.

Declaration
public readonly ListenerRuleConditionHostHeader HostHeader
Field Value
Type Description
ListenerRuleConditionHostHeader
View Source

HttpHeader

HTTP headers to match. HTTP Header block fields documented below.

Declaration
public readonly ListenerRuleConditionHttpHeader HttpHeader
Field Value
Type Description
ListenerRuleConditionHttpHeader
View Source

HttpRequestMethod

Contains a single values item which is a list of HTTP request methods or verbs to match. Maximum size is 40 characters. Only allowed characters are A-Z, hyphen (-) and underscore (_). Comparison is case sensitive. Wildcards are not supported. Only one needs to match for the condition to be satisfied. AWS recommends that GET and HEAD requests are routed in the same way because the response to a HEAD request may be cached.

Declaration
public readonly ListenerRuleConditionHttpRequestMethod HttpRequestMethod
Field Value
Type Description
ListenerRuleConditionHttpRequestMethod
View Source

PathPattern

Contains a single values item which is a list of path patterns to match against the request URL. Maximum size of each pattern is 128 characters. Comparison is case sensitive. Wildcard characters supported: * (matches 0 or more characters) and ? (matches exactly 1 character). Only one pattern needs to match for the condition to be satisfied. Path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use a query_string condition.

Declaration
public readonly ListenerRuleConditionPathPattern PathPattern
Field Value
Type Description
ListenerRuleConditionPathPattern
View Source

QueryStrings

Query strings to match. Query String block fields documented below.

Declaration
public readonly ImmutableArray<ListenerRuleConditionQueryString> QueryStrings
Field Value
Type Description
System.Collections.Immutable.ImmutableArray<ListenerRuleConditionQueryString>
View Source

SourceIp

Contains a single values item which is a list of source IP CIDR notations to match. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. Condition is satisfied if the source IP address of the request matches one of the CIDR blocks. Condition is not satisfied by the addresses in the X-Forwarded-For header, use http_header condition instead.

Declaration
public readonly ListenerRuleConditionSourceIp SourceIp
Field Value
Type Description
ListenerRuleConditionSourceIp
View Source

Values

List of exactly one pattern to match. Required when field is set.

Declaration
public readonly string Values
Field Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.