Interface CfnSafetyRuleMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSafetyRuleMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.route53recoverycontrol.*;
CfnSafetyRuleMixinProps cfnSafetyRuleMixinProps = CfnSafetyRuleMixinProps.builder()
.assertionRule(AssertionRuleProperty.builder()
.assertedControls(List.of("assertedControls"))
.waitPeriodMs(123)
.build())
.controlPanelArn("controlPanelArn")
.gatingRule(GatingRuleProperty.builder()
.gatingControls(List.of("gatingControls"))
.targetControls(List.of("targetControls"))
.waitPeriodMs(123)
.build())
.name("name")
.ruleConfig(RuleConfigProperty.builder()
.inverted(false)
.threshold(123)
.type("type")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSafetyRuleMixinPropsstatic final classAn implementation forCfnSafetyRuleMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met.default ObjectThe Amazon Resource Name (ARN) of the control panel.default ObjectA 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.default StringgetName()The name of the assertion rule.default ObjectThe criteria that you set for specific assertion controls (routing controls) that designate how many control states must beONas the result of a transaction.getTags()The tags associated with the safety rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssertionRule
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
Onafter 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.Returns union: either
IResolvableorCfnSafetyRulePropsMixin.AssertionRuleProperty- See Also:
-
getControlPanelArn
The Amazon Resource Name (ARN) of the control panel.Returns union: either
StringorIControlPanelRef- See Also:
-
getGatingRule
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.For example, if you specify one gating routing control and you set the
Typein the rule configuration toOR, that indicates that you must set the gating routing control toOnfor the rule to evaluate as true; that is, for the gating control switch to be On. When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.Returns union: either
IResolvableorCfnSafetyRulePropsMixin.GatingRuleProperty- See Also:
-
getName
The name of the assertion rule.The name must be unique within a control panel. You can use any non-white space character in the name except the following: & > < ' (single quote) " (double quote) ; (semicolon)
- See Also:
-
getRuleConfig
The criteria that you set for specific assertion controls (routing controls) that designate how many control states must beONas the result of a transaction.For example, if you have three assertion controls, you might specify
ATLEAST 2for your rule configuration. This means that at least two assertion controls must beON, so that at least two AWS Regions have traffic flowing to them.Returns union: either
IResolvableorCfnSafetyRulePropsMixin.RuleConfigProperty- See Also:
-
getTags
The tags associated with the safety rule.- See Also:
-
builder
- Returns:
- a
CfnSafetyRuleMixinProps.BuilderofCfnSafetyRuleMixinProps
-