NewAssertionRule
¶
Used by
Source code in docs_src/capo_route53_recovery_control_config/types/new_assertion_rule.py
asserted_controls
instance-attribute
¶
asserted_controls: NotRequired[__listOf__stringMin1Max256PatternAZaZ09]
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 Amazon Web Services Regions.
control_panel_arn
instance-attribute
¶
control_panel_arn: NotRequired[__stringMin1Max256PatternAZaZ09]
The Amazon Resource Name (ARN) for the control panel.
name
instance-attribute
¶
name: NotRequired[__stringMin1Max64PatternS]
The name of the assertion rule. You can use any non-white space character in the name.
rule_config
instance-attribute
¶
rule_config: NotRequired[RuleConfig]
The criteria that you set for specific assertion controls (routing controls) that designate how many control states must be ON as the result of a transaction. For example, if you have three assertion controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion controls must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.
wait_period_ms
instance-attribute
¶
wait_period_ms: NotRequired[__integer]
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.