GetListenerRuleResult

data class GetListenerRuleResult(val actions: List<ListenerRuleAction>? = null, val conditions: List<ListenerRuleRuleCondition>? = null, val isDefault: Boolean? = null, val priority: Int? = null, val ruleArn: String? = null)

Constructors

Link copied to clipboard
constructor(actions: List<ListenerRuleAction>? = null, conditions: List<ListenerRuleRuleCondition>? = null, isDefault: Boolean? = null, priority: Int? = null, ruleArn: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The actions. The rule must include exactly one of the following types of actions: `forward`, `fixed-response`, or `redirect`, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.

Link copied to clipboard

The conditions. The rule can optionally include up to one of each of the following conditions: `http-request-method`, `host-header`, `path-pattern`, and `source-ip`. A rule can also optionally include one or more of each of the following conditions: `http-header` and `query-string`.

Link copied to clipboard
val isDefault: Boolean? = null

Indicates whether this is the default rule.

Link copied to clipboard
val priority: Int? = null

The rule priority. A listener can't have multiple rules with the same priority. If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.

Link copied to clipboard
val ruleArn: String? = null

The Amazon Resource Name (ARN) of the rule.