class Aws::Route53RecoveryControlConfig::Types::CreateSafetyRuleRequest
Request to create a safety rule. You can create either an assertion rule or a gating rule with a CreateSafetyRuleRequest
call.
@note When making an API call, you may pass CreateSafetyRuleRequest
data as a hash: { assertion_rule: { asserted_controls: ["__string"], # required control_panel_arn: "__string", # required name: "__stringMin1Max64PatternS", # required rule_config: { # required inverted: false, # required threshold: 1, # required type: "ATLEAST", # required, accepts ATLEAST, AND, OR }, wait_period_ms: 1, # required }, client_token: "__stringMax64", gating_rule: { control_panel_arn: "__string", # required gating_controls: ["__string"], # required name: "__stringMin1Max64PatternS", # required rule_config: { # required inverted: false, # required threshold: 1, # required type: "ATLEAST", # required, accepts ATLEAST, AND, OR }, target_controls: ["__string"], # required wait_period_ms: 1, # required }, }
@!attribute [rw] assertion_rule
A new assertion rule for a control panel. @return [Types::NewAssertionRule]
@!attribute [rw] client_token
Unique client idempotency token. **A suitable default value is auto-generated.** You should normally not need to pass this option. @return [String]
@!attribute [rw] gating_rule
A new gating rule for a control panel. @return [Types::NewGatingRule]
@see docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRuleRequest AWS API Documentation
Constants
- SENSITIVE