FirewallPolicyCustomRuleArgs

data class FirewallPolicyCustomRuleArgs(val action: Output<String>, val enabled: Output<Boolean>? = null, val matchConditions: Output<List<FirewallPolicyCustomRuleMatchConditionArgs>>? = null, val name: Output<String>, val priority: Output<Int>? = null, val rateLimitDurationInMinutes: Output<Int>? = null, val rateLimitThreshold: Output<Int>? = null, val type: Output<String>) : ConvertibleToJava<FirewallPolicyCustomRuleArgs>

Constructors

Link copied to clipboard
constructor(action: Output<String>, enabled: Output<Boolean>? = null, matchConditions: Output<List<FirewallPolicyCustomRuleMatchConditionArgs>>? = null, name: Output<String>, priority: Output<Int>? = null, rateLimitDurationInMinutes: Output<Int>? = null, rateLimitThreshold: Output<Int>? = null, type: Output<String>)

Properties

Link copied to clipboard
val action: Output<String>

The action to perform when the rule is matched. Possible values are Allow, Block, Log, or Redirect.

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

Is the rule is enabled or disabled? Defaults to true.

Link copied to clipboard

One or more match_condition block defined below. Can support up to 10 match_condition blocks.

Link copied to clipboard
val name: Output<String>

Gets name of the resource that is unique within a policy. This name can be used to access the resource.

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

The priority of the rule. Rules with a lower value will be evaluated before rules with a higher value. Defaults to 1.

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

The rate limit duration in minutes. Defaults to 1.

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

The rate limit threshold. Defaults to 10.

Link copied to clipboard
val type: Output<String>

The type of rule. Possible values are MatchRule or RateLimitRule.

Functions

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