Class CfnSafetyRule.GatingRuleProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.route53recoverycontrol.CfnSafetyRule.GatingRuleProperty.Jsii$Proxy
All Implemented Interfaces:
CfnSafetyRule.GatingRuleProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnSafetyRule.GatingRuleProperty

@Stability(Stable) @Internal public static final class CfnSafetyRule.GatingRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSafetyRule.GatingRuleProperty
An implementation for CfnSafetyRule.GatingRuleProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnSafetyRule.GatingRuleProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnSafetyRule.GatingRuleProperty.Builder.
  • Method Details

    • getGatingControls

      public final List<String> getGatingControls()
      Description copied from interface: CfnSafetyRule.GatingRuleProperty
      An array of gating routing control Amazon Resource Names (ARNs).

      For a simple on-off switch, specify the ARN for one routing control. The gating routing controls are evaluated by the rule configuration that you specify to determine if the target routing control states can be changed.

      Specified by:
      getGatingControls in interface CfnSafetyRule.GatingRuleProperty
    • getTargetControls

      public final List<String> getTargetControls()
      Description copied from interface: CfnSafetyRule.GatingRuleProperty
      An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if the rule configuration that you specify evaluates to true for the gating routing control.

      As a simple example, if you have a single gating control, it acts as an overall on-off switch for a set of target routing controls. You can use this to manually override automated failover, for example.

      Specified by:
      getTargetControls in interface CfnSafetyRule.GatingRuleProperty
    • getWaitPeriodMs

      public final Number getWaitPeriodMs()
      Description copied from interface: CfnSafetyRule.GatingRuleProperty
      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.

      Specified by:
      getWaitPeriodMs in interface CfnSafetyRule.GatingRuleProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object