Interface CfnSafetyRule.RuleConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSafetyRule.RuleConfigProperty.Jsii$Proxy
- Enclosing class:
CfnSafetyRule
@Stability(Stable)
public static interface CfnSafetyRule.RuleConfigProperty
extends software.amazon.jsii.JsiiSerializable
The rule configuration for an assertion rule.
That is, the criteria that you set for specific assertion controls (routing controls) that specify how many controls must be enabled after a transaction completes.
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.*; RuleConfigProperty ruleConfigProperty = RuleConfigProperty.builder() .inverted(false) .threshold(123) .type("type") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSafetyRule.RuleConfigProperty
static final class
An implementation forCfnSafetyRule.RuleConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInverted
Logical negation of the rule.If the rule would usually evaluate true, it's evaluated as false, and vice versa.
-
getThreshold
The value of N, when you specify anATLEAST
rule type.That is,
Threshold
is the number of controls that must be set when you specify anATLEAST
type. -
getType
A rule can be one of the following:ATLEAST
,AND
, orOR
. -
builder
-