@Stability(value=Stable) public static final class CfnSafetyRule.Builder extends Object implements software.amazon.jsii.Builder<CfnSafetyRule>
CfnSafetyRule.| Modifier and Type | Method and Description |
|---|---|
CfnSafetyRule.Builder |
assertionRule(CfnSafetyRule.AssertionRuleProperty assertionRule)
An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met.
|
CfnSafetyRule.Builder |
assertionRule(IResolvable assertionRule)
An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met.
|
CfnSafetyRule |
build() |
CfnSafetyRule.Builder |
controlPanelArn(String controlPanelArn)
The Amazon Resource Name (ARN) for the control panel.
|
static CfnSafetyRule.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSafetyRule.Builder |
gatingRule(CfnSafetyRule.GatingRuleProperty gatingRule)
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.
|
CfnSafetyRule.Builder |
gatingRule(IResolvable gatingRule)
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.
|
CfnSafetyRule.Builder |
name(String name)
The name of the assertion rule.
|
CfnSafetyRule.Builder |
ruleConfig(CfnSafetyRule.RuleConfigProperty ruleConfig)
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.
|
CfnSafetyRule.Builder |
ruleConfig(IResolvable ruleConfig)
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.
|
CfnSafetyRule.Builder |
tags(List<? extends CfnTag> tags)
The value for a tag.
|
@Stability(value=Stable) public static CfnSafetyRule.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnSafetyRule.AssertionRuleProperty.Builder.@Stability(value=Stable) public CfnSafetyRule.Builder controlPanelArn(String controlPanelArn)
controlPanelArn - The Amazon Resource Name (ARN) for the control panel. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule.Builder name(String name)
You can use any non-white space character in the name. The name must be unique within a control panel.
name - The name of the assertion rule. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule.Builder ruleConfig(CfnSafetyRule.RuleConfigProperty ruleConfig)
For example, if you have three assertion controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion controls must be ON , so that at least two AWS Regions have traffic flowing to them.
ruleConfig - 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. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule.Builder ruleConfig(IResolvable ruleConfig)
For example, if you have three assertion controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion controls must be ON , so that at least two AWS Regions have traffic flowing to them.
ruleConfig - 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. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule.Builder assertionRule(CfnSafetyRule.AssertionRuleProperty assertionRule)
Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after 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.
assertionRule - An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule.Builder assertionRule(IResolvable assertionRule)
Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after 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.
assertionRule - An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule.Builder gatingRule(CfnSafetyRule.GatingRuleProperty gatingRule)
For example, if you specify one gating routing control and you set the Type in the rule configuration to OR , that indicates that you must set the gating routing control to On for 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.
gatingRule - 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. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule.Builder gatingRule(IResolvable gatingRule)
For example, if you specify one gating routing control and you set the Type in the rule configuration to OR , that indicates that you must set the gating routing control to On for 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.
gatingRule - 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. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule.Builder tags(List<? extends CfnTag> tags)
tags - The value for a tag. This parameter is required.this@Stability(value=Stable) public CfnSafetyRule build()
build in interface software.amazon.jsii.Builder<CfnSafetyRule>Copyright © 2022. All rights reserved.