Interface CfnSafetyRule.IRuleConfigProperty
The rule configuration for an assertion rule.
Namespace: Amazon.CDK.AWS.Route53RecoveryControl
Assembly: Amazon.CDK.AWS.Route53RecoveryControl.dll
Syntax (csharp)
public interface IRuleConfigProperty
Syntax (vb)
Public Interface IRuleConfigProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53RecoveryControl;
var ruleConfigProperty = new RuleConfigProperty {
Inverted = false,
Threshold = 123,
Type = "type"
};
Synopsis
Properties
Inverted | Logical negation of the rule. |
Threshold | The value of N, when you specify an |
Type | A rule can be one of the following: |
Properties
Inverted
Logical negation of the rule.
object Inverted { get; }
Property Value
System.Object
Remarks
If the rule would usually evaluate true, it's evaluated as false, and vice versa.
Threshold
The value of N, when you specify an ATLEAST
rule type.
double Threshold { get; }
Property Value
System.Double
Remarks
That is, Threshold
is the number of controls that must be set when you specify an ATLEAST
type.
Type
A rule can be one of the following: ATLEAST
, AND
, or OR
.
string Type { get; }
Property Value
System.String