Skip to main content

safety_rule

Gets an individual safety_rule resource

Overview

Namesafety_rule
TypeResource
Descriptionsafety_rule
Idawscc.route53recoverycontrol.safety_rule

Fields

NameDatatypeDescription
assertion_ruleobject
gating_ruleobject
namestring
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_configobject
tagsarrayA collection of tags associated with a resource
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
assertion_rule,
gating_rule,
name,
safety_rule_arn,
control_panel_arn,
status,
rule_config,
tags
FROM awscc.route53recoverycontrol.safety_rule
WHERE data__Identifier = '<SafetyRuleArn>';

Permissions

To operate on the safety_rule resource, the following permissions are required:

Read

route53-recovery-control-config:DescribeSafetyRule,
route53-recovery-control-config:ListTagsForResource

Update

route53-recovery-control-config:UpdateSafetyRule,
route53-recovery-control-config:DescribeSafetyRule,
route53-recovery-control-config:ListTagsForResource,
route53-recovery-control-config:TagResource,
route53-recovery-control-config:UntagResource

Delete

route53-recovery-control-config:DescribeSafetyRule,
route53-recovery-control-config:DeleteSafetyRule