| 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.WAFV2.Types.Condition
Description
Documentation
A single match condition for a Filter.
See: newCondition smart constructor.
Constructors
| Condition' | |
Fields
| |
Instances
| FromJSON Condition Source # | |
| ToJSON Condition Source # | |
Defined in Amazonka.WAFV2.Types.Condition | |
| Generic Condition Source # | |
| Read Condition Source # | |
| Show Condition Source # | |
| NFData Condition Source # | |
Defined in Amazonka.WAFV2.Types.Condition | |
| Eq Condition Source # | |
| Hashable Condition Source # | |
Defined in Amazonka.WAFV2.Types.Condition | |
| type Rep Condition Source # | |
Defined in Amazonka.WAFV2.Types.Condition type Rep Condition = D1 ('MetaData "Condition" "Amazonka.WAFV2.Types.Condition" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "Condition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionCondition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActionCondition)) :*: S1 ('MetaSel ('Just "labelNameCondition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LabelNameCondition)))) | |
newCondition :: Condition Source #
Create a value of Condition 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:actionCondition:Condition', condition_actionCondition - A single action condition. This is the action setting that a log record
must contain in order to meet the condition.
$sel:labelNameCondition:Condition', condition_labelNameCondition - A single label name condition. This is the fully qualified label name
that a log record must contain in order to meet the condition. Fully
qualified labels have a prefix, optional namespaces, and label name. The
prefix identifies the rule group or web ACL context of the rule that
added the label.
condition_actionCondition :: Lens' Condition (Maybe ActionCondition) Source #
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
condition_labelNameCondition :: Lens' Condition (Maybe LabelNameCondition) Source #
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.