RulesEngineRuleArgs

data class RulesEngineRuleArgs(val action: Output<RulesEngineActionArgs>, val matchConditions: Output<List<RulesEngineMatchConditionArgs>>? = null, val matchProcessingBehavior: Output<Either<String, MatchProcessingBehavior>>? = null, val name: Output<String>, val priority: Output<Int>) : ConvertibleToJava<RulesEngineRuleArgs>

Contains a list of match conditions, and an action on how to modify the request/response. If multiple rules match, the actions from one rule that conflict with a previous rule overwrite for a singular action, or append in the case of headers manipulation.

Constructors

Link copied to clipboard
constructor(action: Output<RulesEngineActionArgs>, matchConditions: Output<List<RulesEngineMatchConditionArgs>>? = null, matchProcessingBehavior: Output<Either<String, MatchProcessingBehavior>>? = null, name: Output<String>, priority: Output<Int>)

Properties

Link copied to clipboard

Actions to perform on the request and response if all of the match conditions are met.

Link copied to clipboard

A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.

Link copied to clipboard

If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.

Link copied to clipboard
val name: Output<String>

A name to refer to this specific rule.

Link copied to clipboard
val priority: Output<Int>

A priority assigned to this rule.

Functions

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