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 |
Synopsis
- data AwsWafRegionalRateBasedRuleDetails = AwsWafRegionalRateBasedRuleDetails' {}
- newAwsWafRegionalRateBasedRuleDetails :: AwsWafRegionalRateBasedRuleDetails
- awsWafRegionalRateBasedRuleDetails_rateLimit :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Integer)
- awsWafRegionalRateBasedRuleDetails_rateKey :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Text)
- awsWafRegionalRateBasedRuleDetails_metricName :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Text)
- awsWafRegionalRateBasedRuleDetails_ruleId :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Text)
- awsWafRegionalRateBasedRuleDetails_name :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Text)
- awsWafRegionalRateBasedRuleDetails_matchPredicates :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe [AwsWafRegionalRateBasedRuleMatchPredicate])
Documentation
data AwsWafRegionalRateBasedRuleDetails Source #
contains details about a rate-based rule for Regional 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: newAwsWafRegionalRateBasedRuleDetails
smart constructor.
AwsWafRegionalRateBasedRuleDetails' | |
|
Instances
newAwsWafRegionalRateBasedRuleDetails :: AwsWafRegionalRateBasedRuleDetails Source #
Create a value of AwsWafRegionalRateBasedRuleDetails
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:AwsWafRegionalRateBasedRuleDetails'
, awsWafRegionalRateBasedRuleDetails_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:AwsWafRegionalRateBasedRuleDetails'
, awsWafRegionalRateBasedRuleDetails_rateKey
- The field that WAF uses to determine whether requests are likely
arriving from single source and are subject to rate monitoring.
$sel:metricName:AwsWafRegionalRateBasedRuleDetails'
, awsWafRegionalRateBasedRuleDetails_metricName
- The name of the metrics for the rate-based rule.
$sel:ruleId:AwsWafRegionalRateBasedRuleDetails'
, awsWafRegionalRateBasedRuleDetails_ruleId
- The unique identifier for the rate-based rule.
$sel:name:AwsWafRegionalRateBasedRuleDetails'
, awsWafRegionalRateBasedRuleDetails_name
- The name of the rate-based rule.
$sel:matchPredicates:AwsWafRegionalRateBasedRuleDetails'
, awsWafRegionalRateBasedRuleDetails_matchPredicates
- The predicates to include in the rate-based rule.
awsWafRegionalRateBasedRuleDetails_rateLimit :: Lens' AwsWafRegionalRateBasedRuleDetails (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.
awsWafRegionalRateBasedRuleDetails_rateKey :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Text) Source #
The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.
awsWafRegionalRateBasedRuleDetails_metricName :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Text) Source #
The name of the metrics for the rate-based rule.
awsWafRegionalRateBasedRuleDetails_ruleId :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Text) Source #
The unique identifier for the rate-based rule.
awsWafRegionalRateBasedRuleDetails_name :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe Text) Source #
The name of the rate-based rule.
awsWafRegionalRateBasedRuleDetails_matchPredicates :: Lens' AwsWafRegionalRateBasedRuleDetails (Maybe [AwsWafRegionalRateBasedRuleMatchPredicate]) Source #
The predicates to include in the rate-based rule.