ListenerRuleConditionArgs

data class ListenerRuleConditionArgs(val hostHeader: Output<ListenerRuleConditionHostHeaderArgs>? = null, val httpHeader: Output<ListenerRuleConditionHttpHeaderArgs>? = null, val httpRequestMethod: Output<ListenerRuleConditionHttpRequestMethodArgs>? = null, val pathPattern: Output<ListenerRuleConditionPathPatternArgs>? = null, val queryStrings: Output<List<ListenerRuleConditionQueryStringArgs>>? = null, val sourceIp: Output<ListenerRuleConditionSourceIpArgs>? = null) : ConvertibleToJava<ListenerRuleConditionArgs>

Constructors

Link copied to clipboard
constructor(hostHeader: Output<ListenerRuleConditionHostHeaderArgs>? = null, httpHeader: Output<ListenerRuleConditionHttpHeaderArgs>? = null, httpRequestMethod: Output<ListenerRuleConditionHttpRequestMethodArgs>? = null, pathPattern: Output<ListenerRuleConditionPathPatternArgs>? = null, queryStrings: Output<List<ListenerRuleConditionQueryStringArgs>>? = null, sourceIp: Output<ListenerRuleConditionSourceIpArgs>? = null)

Properties

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun toJava(): ListenerRuleConditionArgs