RateLimitMatchResponseArgs

data class RateLimitMatchResponseArgs(val originTraffic: Output<Boolean>? = null) : ConvertibleToJava<RateLimitMatchResponseArgs>

Constructors

Link copied to clipboard
constructor(originTraffic: Output<Boolean>? = null)

Properties

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

When true, only the uncached traffic served from your origin servers will count towards rate limiting. In this case, any cached traffic served by Cloudflare will not count towards rate limiting. This field is optional. Notes: This field is deprecated. Instead, use response headers and set "origintraffic" to "false" to avoid legacy behaviour interacting with the "responseheaders" property.

Functions

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