Interface CfnSafetyRule.AssertionRuleProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSafetyRule.AssertionRuleProperty.Jsii$Proxy
Enclosing class:
CfnSafetyRule

@Stability(Stable) public static interface CfnSafetyRule.AssertionRuleProperty extends software.amazon.jsii.JsiiSerializable
An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met.

Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53recoverycontrol.*;
 AssertionRuleProperty assertionRuleProperty = AssertionRuleProperty.builder()
         .assertedControls(List.of("assertedControls"))
         .waitPeriodMs(123)
         .build();
 

See Also: