@Stability(value=Stable) @Internal public static final class CfnSafetyRule.GatingRuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSafetyRule.GatingRuleProperty
CfnSafetyRule.GatingRulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnSafetyRule.GatingRuleProperty.Builder, CfnSafetyRule.GatingRuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnSafetyRule.GatingRuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnSafetyRule.AssertionRuleProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getGatingControls()
An array of gating routing control Amazon Resource Names (ARNs).
|
List<String> |
getTargetControls()
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.
|
Number |
getWaitPeriodMs()
An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnSafetyRule.GatingRuleProperty.Builder builder)
CfnSafetyRule.AssertionRuleProperty.Builder.public final List<String> getGatingControls()
CfnSafetyRule.GatingRulePropertyFor 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.
getGatingControls in interface CfnSafetyRule.GatingRulePropertypublic final List<String> getTargetControls()
CfnSafetyRule.GatingRulePropertyAs 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.
getTargetControls in interface CfnSafetyRule.GatingRulePropertypublic final Number getWaitPeriodMs()
CfnSafetyRule.GatingRulePropertyThis helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
getWaitPeriodMs in interface CfnSafetyRule.GatingRuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.