| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.AwsWafRateBasedRuleMatchPredicate
Description
Synopsis
- data AwsWafRateBasedRuleMatchPredicate = AwsWafRateBasedRuleMatchPredicate' {}
- newAwsWafRateBasedRuleMatchPredicate :: AwsWafRateBasedRuleMatchPredicate
- awsWafRateBasedRuleMatchPredicate_negated :: Lens' AwsWafRateBasedRuleMatchPredicate (Maybe Bool)
- awsWafRateBasedRuleMatchPredicate_dataId :: Lens' AwsWafRateBasedRuleMatchPredicate (Maybe Text)
- awsWafRateBasedRuleMatchPredicate_type :: Lens' AwsWafRateBasedRuleMatchPredicate (Maybe Text)
Documentation
data AwsWafRateBasedRuleMatchPredicate Source #
A match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.
See: newAwsWafRateBasedRuleMatchPredicate smart constructor.
Constructors
| AwsWafRateBasedRuleMatchPredicate' | |
Fields
| |
Instances
newAwsWafRateBasedRuleMatchPredicate :: AwsWafRateBasedRuleMatchPredicate Source #
Create a value of AwsWafRateBasedRuleMatchPredicate 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:negated:AwsWafRateBasedRuleMatchPredicate', awsWafRateBasedRuleMatchPredicate_negated - If set to true, then the rule actions are performed on requests that
match the predicate settings.
If set to false, then the rule actions are performed on all requests
except those that match the predicate settings.
$sel:dataId:AwsWafRateBasedRuleMatchPredicate', awsWafRateBasedRuleMatchPredicate_dataId - The unique identifier for the predicate.
$sel:type':AwsWafRateBasedRuleMatchPredicate', awsWafRateBasedRuleMatchPredicate_type - The type of predicate.
awsWafRateBasedRuleMatchPredicate_negated :: Lens' AwsWafRateBasedRuleMatchPredicate (Maybe Bool) Source #
If set to true, then the rule actions are performed on requests that
match the predicate settings.
If set to false, then the rule actions are performed on all requests
except those that match the predicate settings.
awsWafRateBasedRuleMatchPredicate_dataId :: Lens' AwsWafRateBasedRuleMatchPredicate (Maybe Text) Source #
The unique identifier for the predicate.
awsWafRateBasedRuleMatchPredicate_type :: Lens' AwsWafRateBasedRuleMatchPredicate (Maybe Text) Source #
The type of predicate.