Show / Hide Table of Contents

Class ListenerRuleConditionArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ListenerRuleConditionArgs
Inherited Members
ResourceArgs.Empty
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.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ListenerRuleConditionArgs : ResourceArgs

Constructors

View Source

ListenerRuleConditionArgs()

Declaration
public ListenerRuleConditionArgs()

Properties

View Source

Field

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

Declaration
public Input<string> Field { get; set; }
Property Value
Type Description
Input<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 Input<ListenerRuleConditionHostHeaderArgs> HostHeader { get; set; }
Property Value
Type Description
Input<ListenerRuleConditionHostHeaderArgs>
View Source

HttpHeader

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

Declaration
public Input<ListenerRuleConditionHttpHeaderArgs> HttpHeader { get; set; }
Property Value
Type Description
Input<ListenerRuleConditionHttpHeaderArgs>
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 Input<ListenerRuleConditionHttpRequestMethodArgs> HttpRequestMethod { get; set; }
Property Value
Type Description
Input<ListenerRuleConditionHttpRequestMethodArgs>
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 Input<ListenerRuleConditionPathPatternArgs> PathPattern { get; set; }
Property Value
Type Description
Input<ListenerRuleConditionPathPatternArgs>
View Source

QueryStrings

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

Declaration
public InputList<ListenerRuleConditionQueryStringArgs> QueryStrings { get; set; }
Property Value
Type Description
InputList<ListenerRuleConditionQueryStringArgs>
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 Input<ListenerRuleConditionSourceIpArgs> SourceIp { get; set; }
Property Value
Type Description
Input<ListenerRuleConditionSourceIpArgs>
View Source

Values

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

Declaration
public Input<string> Values { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.