@Stability(value=Stable)
public static interface CfnSafetyRule.RuleConfigProperty
extends software.amazon.jsii.JsiiSerializable
That is, the criteria that you set for specific assertion controls (routing controls) that specify how many control states must be ON 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSafetyRule.RuleConfigProperty.Builder
A builder for
CfnSafetyRule.RuleConfigProperty |
static class |
CfnSafetyRule.RuleConfigProperty.Jsii$Proxy
An implementation for
CfnSafetyRule.RuleConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSafetyRule.RuleConfigProperty.Builder |
builder() |
Object |
getInverted()
Logical negation of the rule.
|
Number |
getThreshold()
The value of N, when you specify an `ATLEAST` rule type.
|
String |
getType()
A rule can be one of the following: `ATLEAST` , `AND` , or `OR` .
|
@Stability(value=Stable) @NotNull Object getInverted()
If the rule would usually evaluate true, it's evaluated as false, and vice versa.
@Stability(value=Stable) @NotNull Number getThreshold()
That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) static CfnSafetyRule.RuleConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.