AwsWafRegionalRateBasedRuleDetails
import type { AwsWafRegionalRateBasedRuleDetails } from "https://aws-api.deno.dev/v0.4/services/securityhub.ts?docs=full";
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.
interface AwsWafRegionalRateBasedRuleDetails {
MatchPredicates?: AwsWafRegionalRateBasedRuleMatchPredicate[] | null;
MetricName?: string | null;
Name?: string | null;
RateKey?: string | null;
RateLimit?: number | null;
RuleId?: string | null;
}§Properties
§
MatchPredicates?: AwsWafRegionalRateBasedRuleMatchPredicate[] | null
[src]The predicates to include in the rate-based rule.
§
RateKey?: string | null
[src]The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.
§
RateLimit?: number | null
[src]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.