| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ELBV2.Types.Rule
Description
Synopsis
- data Rule = Rule' {}
- newRule :: Rule
- rule_actions :: Lens' Rule (Maybe [Action])
- rule_conditions :: Lens' Rule (Maybe [RuleCondition])
- rule_isDefault :: Lens' Rule (Maybe Bool)
- rule_priority :: Lens' Rule (Maybe Text)
- rule_ruleArn :: Lens' Rule (Maybe Text)
Documentation
Information about a rule.
See: newRule smart constructor.
Constructors
| Rule' | |
Fields
| |
Instances
Create a value of Rule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:actions:Rule', rule_actions - The actions. Each rule must include exactly one of the following types
of actions: forward, redirect, or fixed-response, and it must be
the last action to be performed.
$sel:conditions:Rule', rule_conditions - The conditions. Each rule can include zero or one of the following
conditions: http-request-method, host-header, path-pattern, and
source-ip, and zero or more of the following conditions: http-header
and query-string.
$sel:isDefault:Rule', rule_isDefault - Indicates whether this is the default rule.
$sel:priority:Rule', rule_priority - The priority.
$sel:ruleArn:Rule', rule_ruleArn - The Amazon Resource Name (ARN) of the rule.
rule_actions :: Lens' Rule (Maybe [Action]) Source #
The actions. Each rule must include exactly one of the following types
of actions: forward, redirect, or fixed-response, and it must be
the last action to be performed.
rule_conditions :: Lens' Rule (Maybe [RuleCondition]) Source #
The conditions. Each rule can include zero or one of the following
conditions: http-request-method, host-header, path-pattern, and
source-ip, and zero or more of the following conditions: http-header
and query-string.