WebAclRuleStatementRateBasedStatement class
Constructors
-
WebAclRuleStatementRateBasedStatement({required Input<
String> aggregateKeyType, Input<List< ? customKeys, Input<WebAclRuleStatementRateBasedStatementCustomKey> ?>int?> ? evaluationWindowSec, Input<WebAclRuleStatementRateBasedStatementForwardedIpConfig?> ? forwardedIpConfig, required Input<int> limit, Input<WebAclRuleStatementRateBasedStatementScopeDownStatement?> ? scopeDownStatement}) -
Creates a new WebAclRuleStatementRateBasedStatement.
aggregateKeyTypeSetting that indicates how to aggregate the request counts. Defaults toIP. Valid values:IP,FORWARDED_IP,CUSTOM_KEYS,CONSTANT.customKeysAggregate the request counts using one or more web request components as the aggregate keys. See Custom Keys below.evaluationWindowSecTime window for which the rate limit applies, in seconds. Defaults to300(5 minutes). Valid values:60,120,300,600.forwardedIpConfigConfiguration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.limitRate limit threshold (requests per evaluation window period).scopeDownStatementAdditional statement to narrow the scope of requests that the rate-based rule evaluates. See Scope Down Statement below.const -
WebAclRuleStatementRateBasedStatement.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
aggregateKeyType
→ Input<
String> -
Setting that indicates how to aggregate the request counts. Defaults to
IP. Valid values:IP,FORWARDED_IP,CUSTOM_KEYS,CONSTANT.final -
customKeys
→ Input<
List< ?WebAclRuleStatementRateBasedStatementCustomKey> ?> -
Aggregate the request counts using one or more web request components as the aggregate keys. See Custom Keys below.
final
-
evaluationWindowSec
→ Input<
int?> ? -
Time window for which the rate limit applies, in seconds. Defaults to
300(5 minutes). Valid values:60,120,300,600.final -
forwardedIpConfig
→ Input<
WebAclRuleStatementRateBasedStatementForwardedIpConfig?> ? -
Configuration for inspecting IP addresses in an HTTP header instead of using the web request origin. See Forwarded IP Config below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
limit
→ Input<
int> -
Rate limit threshold (requests per evaluation window period).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopeDownStatement
→ Input<
WebAclRuleStatementRateBasedStatementScopeDownStatement?> ? -
Additional statement to narrow the scope of requests that the rate-based rule evaluates. See Scope Down Statement below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited