RateLimitMatchResponseArgs

data class RateLimitMatchResponseArgs(val headers: Output<List<Map<String, String>>>? = null, val originTraffic: Output<Boolean>? = null, val statuses: Output<List<Int>>? = null) : ConvertibleToJava<RateLimitMatchResponseArgs>

Constructors

Link copied to clipboard
constructor(headers: Output<List<Map<String, String>>>? = null, originTraffic: Output<Boolean>? = null, statuses: Output<List<Int>>? = null)

Properties

Link copied to clipboard
val headers: Output<List<Map<String, String>>>? = null

List of HTTP headers maps to match the origin response on.

Link copied to clipboard
val originTraffic: Output<Boolean>? = null

Only count traffic that has come from your origin servers. If true, cached items that Cloudflare serve will not count towards rate limiting.

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

HTTP Status codes, can be one, many or indicate all by not providing this value.

Functions

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