ManagedRuleOverrideArgs

data class ManagedRuleOverrideArgs(val action: Output<Either<String, ActionType>>? = null, val enabledState: Output<Either<String, ManagedRuleEnabledState>>? = null, val exclusions: Output<List<ManagedRuleExclusionArgs>>? = null, val ruleId: Output<String>) : ConvertibleToJava<ManagedRuleOverrideArgs>

Defines a managed rule group override setting.

Constructors

Link copied to clipboard
constructor(action: Output<Either<String, ActionType>>? = null, enabledState: Output<Either<String, ManagedRuleEnabledState>>? = null, exclusions: Output<List<ManagedRuleExclusionArgs>>? = null, ruleId: Output<String>)

Properties

Link copied to clipboard
val action: Output<Either<String, ActionType>>? = null

Describes the override action to be applied when rule matches.

Link copied to clipboard
val enabledState: Output<Either<String, ManagedRuleEnabledState>>? = null

Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.

Link copied to clipboard

Describes the exclusions that are applied to this specific rule.

Link copied to clipboard
val ruleId: Output<String>

Identifier for the managed rule.

Functions

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