SafetyRuleAssertionRuleArgs

data class SafetyRuleAssertionRuleArgs(val assertedControls: Output<List<String>>, val waitPeriodMs: Output<Int>) : ConvertibleToJava<SafetyRuleAssertionRuleArgs>

An assertion rule enforces that, when a routing control state is changed, that the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.

Constructors

Link copied to clipboard
constructor(assertedControls: Output<List<String>>, waitPeriodMs: Output<Int>)

Properties

Link copied to clipboard

The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three AWS Regions.

Link copied to clipboard
val waitPeriodMs: Output<Int>

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

Functions

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