Class: Aws::Route53RecoveryControlConfig::Types::CreateSafetyRuleRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53recoverycontrolconfig/types.rb

Overview

Request to create a safety rule. You can create either an assertion rule or a gating rule with a CreateSafetyRuleRequest call.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assertion_ruleTypes::NewAssertionRule

The assertion rule requested.



427
428
429
430
431
432
433
434
# File 'lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 427

class CreateSafetyRuleRequest < Struct.new(
  :assertion_rule,
  :client_token,
  :gating_rule,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request with an action, specify a client token in the request.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


427
428
429
430
431
432
433
434
# File 'lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 427

class CreateSafetyRuleRequest < Struct.new(
  :assertion_rule,
  :client_token,
  :gating_rule,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#gating_ruleTypes::NewGatingRule

The gating rule requested.



427
428
429
430
431
432
433
434
# File 'lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 427

class CreateSafetyRuleRequest < Struct.new(
  :assertion_rule,
  :client_token,
  :gating_rule,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags associated with the safety rule.

Returns:

  • (Hash<String,String>)


427
428
429
430
431
432
433
434
# File 'lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 427

class CreateSafetyRuleRequest < Struct.new(
  :assertion_rule,
  :client_token,
  :gating_rule,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end