interface CfnSafetyRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Route53RecoveryControl.Mixins.CfnSafetyRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsroute53recoverycontrol/mixins#CfnSafetyRuleMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.route53recoverycontrol.mixins.CfnSafetyRuleMixinProps |
Python | aws_cdk.mixins_preview.aws_route53recoverycontrol.mixins.CfnSafetyRuleMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_route53recoverycontrol » mixins » CfnSafetyRuleMixinProps |
Properties for CfnSafetyRulePropsMixin.
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 cfnSafetyRuleMixinProps: route53recoverycontrol_mixins.CfnSafetyRuleMixinProps = {
assertionRule: {
assertedControls: ['assertedControls'],
waitPeriodMs: 123,
},
controlPanelArn: 'controlPanelArn',
gatingRule: {
gatingControls: ['gatingControls'],
targetControls: ['targetControls'],
waitPeriodMs: 123,
},
name: 'name',
ruleConfig: {
inverted: false,
threshold: 123,
type: 'type',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| assertion | IResolvable | Assertion | An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met. |
| control | string | The Amazon Resource Name (ARN) of the control panel. |
| gating | IResolvable | Gating | A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete. |
| name? | string | The name of the assertion rule. |
| rule | IResolvable | Rule | The criteria that you set for specific assertion controls (routing controls) that designate how many control states must be ON as the result of a transaction. |
| tags? | Cfn[] | The tags associated with the safety rule. |
assertionRule?
Type:
IResolvable | Assertion
(optional)
An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met.
Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.
controlPanelArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the control panel.
gatingRule?
Type:
IResolvable | Gating
(optional)
A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.
For example, if you specify one gating routing control and you set the Type in the rule configuration to OR , that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control switch to be On. When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.
name?
Type:
string
(optional)
The name of the assertion rule.
The name must be unique within a control panel. You can use any non-white space character in the name except the following: & > < ' (single quote) " (double quote) ; (semicolon)
ruleConfig?
Type:
IResolvable | Rule
(optional)
The criteria that you set for specific assertion controls (routing controls) that designate how many control states must be ON as the result of a transaction.
For example, if you have three assertion controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion controls must be ON , so that at least two AWS Regions have traffic flowing to them.
tags?
Type:
Cfn[]
(optional)
The tags associated with the safety rule.

.NET
Go
Java
Python
TypeScript