interface RuleConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Route53RecoveryControl.Mixins.CfnSafetyRulePropsMixin.RuleConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsroute53recoverycontrol/mixins#CfnSafetyRulePropsMixin_RuleConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.route53recoverycontrol.mixins.CfnSafetyRulePropsMixin.RuleConfigProperty |
Python | aws_cdk.mixins_preview.aws_route53recoverycontrol.mixins.CfnSafetyRulePropsMixin.RuleConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_route53recoverycontrol » mixins » CfnSafetyRulePropsMixin » 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 { mixins as route53recoverycontrol_mixins } from '@aws-cdk/mixins-preview/aws-route53recoverycontrol';
const ruleConfigProperty: route53recoverycontrol_mixins.CfnSafetyRulePropsMixin.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
(optional)
Logical negation of the rule.
If the rule would usually evaluate true, it's evaluated as false, and vice versa.
threshold?
Type:
number
(optional)
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
(optional)
A rule can be one of the following: ATLEAST , AND , or OR .

.NET
Go
Java
Python
TypeScript