Skip to main content

safety_rules_list_only

Lists safety_rules in a region or regions, for all properties use safety_rules

Overview

Namesafety_rules_list_only
TypeResource
DescriptionResource schema for AWS Route53 Recovery Control basic constructs and validation rules.
Idaws.route53recoverycontrol.safety_rules_list_only

Fields

NameDatatypeDescription
assertion_ruleobjectAn assertion rule enforces that, when a routing control state is changed, that the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.
gating_ruleobjectA gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.
namestringThe name for the safety rule.
safety_rule_arnstringThe Amazon Resource Name (ARN) of the safety rule.
control_panel_arnstringThe Amazon Resource Name (ARN) of the control panel.
statusstringThe deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
rule_configobjectThe rule configuration for an assertion rule or gating rule. This is the criteria that you set for specific assertion controls (routing controls) or gating controls. This configuration specifies how many controls must be enabled after a transaction completes.
tagsarrayA collection of tags associated with a resource
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all safety_rules in a region.

SELECT
region,
safety_rule_arn
FROM aws.route53recoverycontrol.safety_rules_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the safety_rules_list_only resource, see safety_rules