RateLimitActionArgs

data class RateLimitActionArgs(val mode: Output<String>, val response: Output<RateLimitActionResponseArgs>? = null, val timeout: Output<Int>? = null) : ConvertibleToJava<RateLimitActionArgs>

Constructors

Link copied to clipboard
constructor(mode: Output<String>, response: Output<RateLimitActionResponseArgs>? = null, timeout: Output<Int>? = null)

Properties

Link copied to clipboard
val mode: Output<String>

The type of action to perform. Available values: simulate, ban, challenge, js_challenge, managed_challenge.

Link copied to clipboard

Custom content-type and body to return, this overrides the custom error for the zone. This field is not required. Omission will result in default HTML error page.

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

The time in seconds as an integer to perform the mitigation action. This field is required if the mode is either simulate or ban. Must be the same or greater than the period.

Functions

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