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

Rule

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

A safety rule. A safety rule can be an assertion rule or a gating rule.

interface Rule {
ASSERTION?: AssertionRule | null;
GATING?: GatingRule | null;
}

§Properties

§
ASSERTION?: AssertionRule | null
[src]

An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control state 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.

§
GATING?: GatingRule | null
[src]

A gating rule verifies that a gating routing control or set of gating rounting 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.