Rule Group Rule Statement Rate Based Statement Args
data class RuleGroupRuleStatementRateBasedStatementArgs(val aggregateKeyType: Output<String>? = null, val forwardedIpConfig: Output<RuleGroupRuleStatementRateBasedStatementForwardedIpConfigArgs>? = null, val limit: Output<Int>, val scopeDownStatement: Output<RuleGroupRuleStatementRateBasedStatementScopeDownStatementArgs>? = null) : ConvertibleToJava<RuleGroupRuleStatementRateBasedStatementArgs>
Constructors
Link copied to clipboard
constructor(aggregateKeyType: Output<String>? = null, forwardedIpConfig: Output<RuleGroupRuleStatementRateBasedStatementForwardedIpConfigArgs>? = null, limit: Output<Int>, scopeDownStatement: Output<RuleGroupRuleStatementRateBasedStatementScopeDownStatementArgs>? = null)
Properties
Link copied to clipboard
Setting that indicates how to aggregate the request counts. Valid values include: FORWARDED_IP
or IP
. Default: IP
.
Link copied to clipboard
val forwardedIpConfig: Output<RuleGroupRuleStatementRateBasedStatementForwardedIpConfigArgs>? = null
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 aggregate_key_type
is set to FORWARDED_IP
, this block is required. See Forwarded IP Config below for details.
Link copied to clipboard
val scopeDownStatement: Output<RuleGroupRuleStatementRateBasedStatementScopeDownStatementArgs>? = null
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.