| 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.AwsWafRateBasedRuleDetails
Description
Synopsis
- data AwsWafRateBasedRuleDetails = AwsWafRateBasedRuleDetails' {}
- newAwsWafRateBasedRuleDetails :: AwsWafRateBasedRuleDetails
- awsWafRateBasedRuleDetails_rateLimit :: Lens' AwsWafRateBasedRuleDetails (Maybe Integer)
- awsWafRateBasedRuleDetails_rateKey :: Lens' AwsWafRateBasedRuleDetails (Maybe Text)
- awsWafRateBasedRuleDetails_metricName :: Lens' AwsWafRateBasedRuleDetails (Maybe Text)
- awsWafRateBasedRuleDetails_ruleId :: Lens' AwsWafRateBasedRuleDetails (Maybe Text)
- awsWafRateBasedRuleDetails_name :: Lens' AwsWafRateBasedRuleDetails (Maybe Text)
- awsWafRateBasedRuleDetails_matchPredicates :: Lens' AwsWafRateBasedRuleDetails (Maybe [AwsWafRateBasedRuleMatchPredicate])
Documentation
data AwsWafRateBasedRuleDetails Source #
Details about a rate-based rule for global resources. A rate-based rule provides settings to indicate when to allow, block, or count a request. Rate-based rules include the number of requests that arrive over a specified period of time.
See: newAwsWafRateBasedRuleDetails smart constructor.
Constructors
| AwsWafRateBasedRuleDetails' | |
Fields
| |
Instances
newAwsWafRateBasedRuleDetails :: AwsWafRateBasedRuleDetails Source #
Create a value of AwsWafRateBasedRuleDetails 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:rateLimit:AwsWafRateBasedRuleDetails', awsWafRateBasedRuleDetails_rateLimit - The maximum number of requests that have an identical value for the
field specified in RateKey that are allowed within a five-minute
period. If the number of requests exceeds RateLimit and the other
predicates specified in the rule are met, WAF triggers the action for
the rule.
$sel:rateKey:AwsWafRateBasedRuleDetails', awsWafRateBasedRuleDetails_rateKey - The field that WAF uses to determine whether requests are likely
arriving from single source and are subject to rate monitoring.
$sel:metricName:AwsWafRateBasedRuleDetails', awsWafRateBasedRuleDetails_metricName - The name of the metrics for the rate-based rule.
$sel:ruleId:AwsWafRateBasedRuleDetails', awsWafRateBasedRuleDetails_ruleId - The unique identifier for the rate-based rule.
$sel:name:AwsWafRateBasedRuleDetails', awsWafRateBasedRuleDetails_name - The name of the rate-based rule.
$sel:matchPredicates:AwsWafRateBasedRuleDetails', awsWafRateBasedRuleDetails_matchPredicates - The predicates to include in the rate-based rule.
awsWafRateBasedRuleDetails_rateLimit :: Lens' AwsWafRateBasedRuleDetails (Maybe Integer) Source #
The maximum number of requests that have an identical value for the
field specified in RateKey that are allowed within a five-minute
period. If the number of requests exceeds RateLimit and the other
predicates specified in the rule are met, WAF triggers the action for
the rule.
awsWafRateBasedRuleDetails_rateKey :: Lens' AwsWafRateBasedRuleDetails (Maybe Text) Source #
The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.
awsWafRateBasedRuleDetails_metricName :: Lens' AwsWafRateBasedRuleDetails (Maybe Text) Source #
The name of the metrics for the rate-based rule.
awsWafRateBasedRuleDetails_ruleId :: Lens' AwsWafRateBasedRuleDetails (Maybe Text) Source #
The unique identifier for the rate-based rule.
awsWafRateBasedRuleDetails_name :: Lens' AwsWafRateBasedRuleDetails (Maybe Text) Source #
The name of the rate-based rule.
awsWafRateBasedRuleDetails_matchPredicates :: Lens' AwsWafRateBasedRuleDetails (Maybe [AwsWafRateBasedRuleMatchPredicate]) Source #
The predicates to include in the rate-based rule.