Interface CfnSafetyRuleProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSafetyRuleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:34.687Z") @Stability(Stable) public interface CfnSafetyRuleProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnSafetyRule.

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.*;
 CfnSafetyRuleProps cfnSafetyRuleProps = CfnSafetyRuleProps.builder()
         .controlPanelArn("controlPanelArn")
         .name("name")
         .ruleConfig(RuleConfigProperty.builder()
                 .inverted(false)
                 .threshold(123)
                 .type("type")
                 .build())
         // the properties below are optional
         .assertionRule(AssertionRuleProperty.builder()
                 .assertedControls(List.of("assertedControls"))
                 .waitPeriodMs(123)
                 .build())
         .gatingRule(GatingRuleProperty.builder()
                 .gatingControls(List.of("gatingControls"))
                 .targetControls(List.of("targetControls"))
                 .waitPeriodMs(123)
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnSafetyRuleProps
    static final class 
    An implementation for CfnSafetyRuleProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Object
    An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met.
    The Amazon Resource Name (ARN) of the control panel.
    default Object
    A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.
    The name of the assertion rule.
    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.
    default List<CfnTag>
    The tags associated with the safety rule.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson