RuleGroupRuleStatementRateBasedStatement class

Constructors

RuleGroupRuleStatementRateBasedStatement({Input<String?>? aggregateKeyType, Input<List<RuleGroupRuleStatementRateBasedStatementCustomKey>?>? customKeys, Input<int?>? evaluationWindowSec, Input<RuleGroupRuleStatementRateBasedStatementForwardedIpConfig?>? forwardedIpConfig, required Input<int> limit, Input<RuleGroupRuleStatementRateBasedStatementScopeDownStatement?>? scopeDownStatement})
Creates a new RuleGroupRuleStatementRateBasedStatement. aggregateKeyType Setting that indicates how to aggregate the request counts. Valid values include: CONSTANT, CUSTOM_KEYS, FORWARDED_IP or IP. Default: IP. customKeys Aggregate the request counts using one or more web request components as the aggregate keys. See customKey below for details. evaluationWindowSec The amount of time, in seconds, that AWS WAF should include in its request counts, looking back from the current time. Valid values are 60, 120, 300, and 600. Defaults to 300 (5 minutes). forwardedIpConfig The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. If aggregateKeyType is set to FORWARDED_IP, this block is required. See Forwarded IP Config below for details. limit Limit on requests per 5-minute (or evaluationWindowSec) period for a single originating IP address (or for other aggregate key, depending on aggregateKeyType and customKey). scopeDownStatement An optional nested statement that narrows the scope of the rate-based statement to matching web requests. This can be any nestable statement, and you can nest statements at any level below this scope-down statement. See Statement above for details. If aggregateKeyType is set to CONSTANT, this block is required.
const
RuleGroupRuleStatementRateBasedStatement.fromMap(Map<String, dynamic> map)
factory

Properties

aggregateKeyType → Input<String?>?
Setting that indicates how to aggregate the request counts. Valid values include: CONSTANT, CUSTOM_KEYS, FORWARDED_IP or IP. Default: IP.
final
customKeys → Input<List<RuleGroupRuleStatementRateBasedStatementCustomKey>?>?
Aggregate the request counts using one or more web request components as the aggregate keys. See customKey below for details.
final
evaluationWindowSec → Input<int?>?
The amount of time, in seconds, that AWS WAF should include in its request counts, looking back from the current time. Valid values are 60, 120, 300, and 600. Defaults to 300 (5 minutes).
final
forwardedIpConfig → Input<RuleGroupRuleStatementRateBasedStatementForwardedIpConfig?>?
The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. If aggregateKeyType is set to FORWARDED_IP, this block is required. See Forwarded IP Config below for details.
final
hashCode → int
The hash code for this object.
no setterinherited
limit → Input<int>
Limit on requests per 5-minute (or evaluationWindowSec) period for a single originating IP address (or for other aggregate key, depending on aggregateKeyType and customKey).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopeDownStatement → Input<RuleGroupRuleStatementRateBasedStatementScopeDownStatement?>?
An optional nested statement that narrows the scope of the rate-based statement to matching web requests. This can be any nestable statement, and you can nest statements at any level below this scope-down statement. See Statement above for details. If aggregateKeyType is set to CONSTANT, this block is required.
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