Interface CfnSafetyRule.RuleConfigProperty

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

@Stability(Stable) public static interface CfnSafetyRule.RuleConfigProperty extends software.amazon.jsii.JsiiSerializable
The rule configuration for an assertion rule.

That is, the criteria that you set for specific assertion controls (routing controls) that specify how many controls must be enabled after a transaction completes.

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.*;
 RuleConfigProperty ruleConfigProperty = RuleConfigProperty.builder()
         .inverted(false)
         .threshold(123)
         .type("type")
         .build();
 
  • Method Details

    • getInverted

      @Stability(Stable) @NotNull Object getInverted()
      Logical negation of the rule.

      If the rule would usually evaluate true, it's evaluated as false, and vice versa.

    • getThreshold

      @Stability(Stable) @NotNull Number getThreshold()
      The value of N, when you specify an ATLEAST rule type.

      That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.

    • getType

      @Stability(Stable) @NotNull String getType()
      A rule can be one of the following: ATLEAST , AND , or OR .
    • builder

      @Stability(Stable) static CfnSafetyRule.RuleConfigProperty.Builder builder()
      Returns:
      a CfnSafetyRule.RuleConfigProperty.Builder of CfnSafetyRule.RuleConfigProperty