Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AssertionRule

import type { AssertionRule } from "https://aws-api.deno.dev/v0.3/services/route53recoverycontrolconfig.ts?docs=full";

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 transation so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

interface AssertionRule {
AssertedControls: string[];
ControlPanelArn: string;
Name: string;
RuleConfig: RuleConfig;
SafetyRuleArn: string;
Status: Status;
WaitPeriodMs: number;
}

§Properties

§
AssertedControls: string[]
[src]

The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

§
ControlPanelArn: string
[src]

The Amazon Resource Name (ARN) of the control panel.

§
Name: string
[src]

Name of the assertion rule. You can use any non-white space character in the name.

§
RuleConfig: RuleConfig
[src]

The criteria that you set for specific assertion routing controls (AssertedControls) that designate how many routing control states must be ON as the result of a transaction. For example, if you have three assertion routing controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion routing control states must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

§
SafetyRuleArn: string
[src]

The Amazon Resource Name (ARN) of the assertion rule.

§
Status: Status
[src]

The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

§
WaitPeriodMs: number
[src]

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.