WafRuleRateLimitArgs

data class WafRuleRateLimitArgs(val interval: Output<Int>? = null, val status: Output<WafRuleRateLimitStatusArgs>? = null, val subKey: Output<String>? = null, val target: Output<String>? = null, val threshold: Output<Int>? = null, val ttl: Output<Int>? = null) : ConvertibleToJava<WafRuleRateLimitArgs>

Constructors

Link copied to clipboard
constructor(interval: Output<Int>? = null, status: Output<WafRuleRateLimitStatusArgs>? = null, subKey: Output<String>? = null, target: Output<String>? = null, threshold: Output<Int>? = null, ttl: Output<Int>? = null)

Properties

Link copied to clipboard
val interval: Output<Int>? = null

Statistical duration, 5-1800.

Link copied to clipboard
val status: Output<WafRuleRateLimitStatusArgs>? = null

Response code statistics. See status below.

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

The subfield of the target field. If you set target to Header, Query String Parameter, or Cookie Name, you must configure sub_key.

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

The statistical field for frequency control. Currently, IP, Header, Query String Parameter, Cookie Name, Session is supported.

Link copied to clipboard
val threshold: Output<Int>? = null

The trigger threshold of rate limiting. Valid values: 2 to 500000. Unit: requests.

Link copied to clipboard
val ttl: Output<Int>? = null

The validity period of the blacklist. Valid values: 60 to 86400. Unit: seconds.

Functions

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