interface RuleConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53RecoveryControl.CfnSafetyRule.RuleConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53recoverycontrol#CfnSafetyRule_RuleConfigProperty |
Java | software.amazon.awscdk.services.route53recoverycontrol.CfnSafetyRule.RuleConfigProperty |
Python | aws_cdk.aws_route53recoverycontrol.CfnSafetyRule.RuleConfigProperty |
TypeScript | aws-cdk-lib » aws_route53recoverycontrol » CfnSafetyRule » RuleConfigProperty |
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 { aws_route53recoverycontrol as route53recoverycontrol } from 'aws-cdk-lib';
const ruleConfigProperty: route53recoverycontrol.CfnSafetyRule.RuleConfigProperty = {
inverted: false,
threshold: 123,
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| inverted | boolean | IResolvable | Logical negation of the rule. |
| threshold | number | The value of N, when you specify an ATLEAST rule type. |
| type | string | A rule can be one of the following: ATLEAST , AND , or OR . |
inverted
Type:
boolean | IResolvable
Logical negation of the rule.
If the rule would usually evaluate true, it's evaluated as false, and vice versa.
threshold
Type:
number
The value of N, when you specify an ATLEAST rule type.
That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.
type
Type:
string
A rule can be one of the following: ATLEAST , AND , or OR .

.NET
Go
Java
Python
TypeScript