WebAclRuleStatementRateBasedStatementArgs

data class WebAclRuleStatementRateBasedStatementArgs(val aggregateKeyType: Output<String>? = null, val forwardedIpConfig: Output<WebAclRuleStatementRateBasedStatementForwardedIpConfigArgs>? = null, val limit: Output<Int>, val scopeDownStatement: Output<WebAclRuleStatementRateBasedStatementScopeDownStatementArgs>? = null) : ConvertibleToJava<WebAclRuleStatementRateBasedStatementArgs>

Constructors

constructor(aggregateKeyType: Output<String>? = null, forwardedIpConfig: Output<WebAclRuleStatementRateBasedStatementForwardedIpConfigArgs>? = null, limit: Output<Int>, scopeDownStatement: Output<WebAclRuleStatementRateBasedStatementScopeDownStatementArgs>? = null)

Properties

Link copied to clipboard
val aggregateKeyType: Output<String>? = null

Setting that indicates how to aggregate the request counts. Valid values include: FORWARDED_IP or IP. Default: IP.

Link copied to clipboard

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 limit: Output<Int>

Limit on requests per 5-minute period for a single originating IP address.

Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun toJava(): WebAclRuleStatementRateBasedStatementArgs