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

NewAssertionRule

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

A new assertion rule for a control panel.

interface NewAssertionRule {
AssertedControls: string[];
ControlPanelArn: string;
Name: string;
RuleConfig: RuleConfig;
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) for the control panel.

§
Name: string
[src]

The 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 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 2for your rule configuration. This means that at least two assertion controls must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

§
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.