RulesetRuleActionParametersCacheKeyCustomKeyHeaderArgs

data class RulesetRuleActionParametersCacheKeyCustomKeyHeaderArgs(val checkPresences: Output<List<String>>? = null, val contains: Output<Map<String, List<String>>>? = null, val excludeOrigin: Output<Boolean>? = null, val includes: Output<List<String>>? = null) : ConvertibleToJava<RulesetRuleActionParametersCacheKeyCustomKeyHeaderArgs>

Constructors

constructor(checkPresences: Output<List<String>>? = null, contains: Output<Map<String, List<String>>>? = null, excludeOrigin: Output<Boolean>? = null, includes: Output<List<String>>? = null)

Properties

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

Checks for the presence of these header names. The presence of these headers is used in building the cache key.

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

For each header name and list of values combination, check if the request header contains any of the values provided. The presence of the request header and whether any of the values provided are contained in the request header value is used in building the cache key.

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

Whether or not to include the origin header. A value of true will exclude the origin header in the cache key.

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

Include these headers' names and their values.

Functions

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