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

NewGatingRule

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

A new gating rule for a control panel.

interface NewGatingRule {
ControlPanelArn: string;
GatingControls: string[];
Name: string;
RuleConfig: RuleConfig;
TargetControls: string[];
WaitPeriodMs: number;
}

§Properties

§
ControlPanelArn: string
[src]

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

§
GatingControls: string[]
[src]

The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.

§
Name: string
[src]

The name for the new gating rule.

§
RuleConfig: RuleConfig
[src]

The criteria that you set for specific gating controls (routing controls) that designates how many control states must be ON to allow you to change (set or unset) the target control states.

§
TargetControls: string[]
[src]

Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.

In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.

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