ListenerRuleCondition class

Constructors

ListenerRuleCondition({Input<ListenerRuleConditionHostHeader?>? hostHeader, Input<ListenerRuleConditionHttpHeader?>? httpHeader, Input<ListenerRuleConditionHttpRequestMethod?>? httpRequestMethod, Input<ListenerRuleConditionPathPattern?>? pathPattern, Input<List<ListenerRuleConditionQueryString>?>? queryStrings, Input<ListenerRuleConditionSourceIp?>? sourceIp})
Creates a new ListenerRuleCondition. hostHeader Host header patterns to match. Host Header block fields documented below. httpHeader HTTP headers to match. HTTP Header block fields documented below. 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. pathPattern Path patterns to match against the request URL. Path Pattern block fields documented below. queryStrings Query strings to match. Query String block fields documented below. sourceIp Source IP address to match. For ALB, use values to specify CIDR ranges. For NLB, use ipAddressType to match the IP address type (ipv4 or ipv6). Source IP block fields documented below.
const
ListenerRuleCondition.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
hostHeader → Input<ListenerRuleConditionHostHeader?>?
Host header patterns to match. Host Header block fields documented below.
final
httpHeader → Input<ListenerRuleConditionHttpHeader?>?
HTTP headers to match. HTTP Header block fields documented below.
final
httpRequestMethod → Input<ListenerRuleConditionHttpRequestMethod?>?
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.
final
pathPattern → Input<ListenerRuleConditionPathPattern?>?
Path patterns to match against the request URL. Path Pattern block fields documented below.
final
queryStrings → Input<List<ListenerRuleConditionQueryString>?>?
Query strings to match. Query String block fields documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceIp → Input<ListenerRuleConditionSourceIp?>?
Source IP address to match. For ALB, use values to specify CIDR ranges. For NLB, use ipAddressType to match the IP address type (ipv4 or ipv6). Source IP block fields documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited