ListenerRuleRuleConditionArgs

data class ListenerRuleRuleConditionArgs(val field: Output<String>? = null, val hostHeaderConfig: Output<ListenerRuleHostHeaderConfigArgs>? = null, val httpHeaderConfig: Output<ListenerRuleHttpHeaderConfigArgs>? = null, val httpRequestMethodConfig: Output<ListenerRuleHttpRequestMethodConfigArgs>? = null, val pathPatternConfig: Output<ListenerRulePathPatternConfigArgs>? = null, val queryStringConfig: Output<ListenerRuleQueryStringConfigArgs>? = null, val sourceIpConfig: Output<ListenerRuleSourceIpConfigArgs>? = null, val values: Output<List<String>>? = null) : ConvertibleToJava<ListenerRuleRuleConditionArgs>

Specifies a condition for a listener rule.

Constructors

Link copied to clipboard
constructor(field: Output<String>? = null, hostHeaderConfig: Output<ListenerRuleHostHeaderConfigArgs>? = null, httpHeaderConfig: Output<ListenerRuleHttpHeaderConfigArgs>? = null, httpRequestMethodConfig: Output<ListenerRuleHttpRequestMethodConfigArgs>? = null, pathPatternConfig: Output<ListenerRulePathPatternConfigArgs>? = null, queryStringConfig: Output<ListenerRuleQueryStringConfigArgs>? = null, sourceIpConfig: Output<ListenerRuleSourceIpConfigArgs>? = null, values: Output<List<String>>? = null)

Properties

Link copied to clipboard
val field: Output<String>? = null

The field in the HTTP request. The following are the possible values:

Link copied to clipboard

Information for a host header condition. Specify only when `Field` is `host-header`.

Link copied to clipboard

Information for an HTTP header condition. Specify only when `Field` is `http-header`.

Link copied to clipboard

Information for an HTTP method condition. Specify only when `Field` is `http-request-method`.

Link copied to clipboard

Information for a path pattern condition. Specify only when `Field` is `path-pattern`.

Link copied to clipboard

Information for a query string condition. Specify only when `Field` is `query-string`.

Link copied to clipboard

Information for a source IP condition. Specify only when `Field` is `source-ip`.

Link copied to clipboard
val values: Output<List<String>>? = null

The condition value. Specify only when `Field` is `host-header` or `path-pattern`. Alternatively, to specify multiple host names or multiple path patterns, use `HostHeaderConfig` or `PathPatternConfig`. If `Field` is `host-header` and you're not using `HostHeaderConfig`, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.

Functions

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