aws-cdk-lib.aws_route53recoverycontrol.CfnSafetyRule.RuleConfigProperty

interface RuleConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Route53RecoveryControl.CfnSafetyRule.RuleConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsroute53recoverycontrol#CfnSafetyRule_RuleConfigProperty
Javasoftware.amazon.awscdk.services.route53recoverycontrol.CfnSafetyRule.RuleConfigProperty
Pythonaws_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

NameTypeDescription
invertedboolean | IResolvableLogical negation of the rule.
thresholdnumberThe value of N, when you specify an ATLEAST rule type.
typestringA 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 .