Class: AWSCDK::Interfaces::AWSRoute53Recoverycontrol::SafetyRuleReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSRoute53Recoverycontrol::SafetyRuleReference
- Defined in:
- interfaces/aws_route53_recoverycontrol/safety_rule_reference.rb
Overview
A reference to a SafetyRule resource.
Instance Attribute Summary collapse
-
#safety_rule_arn ⇒ String
readonly
The SafetyRuleArn of the SafetyRule resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(safety_rule_arn:) ⇒ SafetyRuleReference
constructor
A new instance of SafetyRuleReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(safety_rule_arn:) ⇒ SafetyRuleReference
Returns a new instance of SafetyRuleReference.
8 9 10 11 |
# File 'interfaces/aws_route53_recoverycontrol/safety_rule_reference.rb', line 8 def initialize(safety_rule_arn:) @safety_rule_arn = safety_rule_arn Jsii::Type.check_type(@safety_rule_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "safetyRuleArn") end |
Instance Attribute Details
#safety_rule_arn ⇒ String (readonly)
The SafetyRuleArn of the SafetyRule resource.
16 17 18 |
# File 'interfaces/aws_route53_recoverycontrol/safety_rule_reference.rb', line 16 def safety_rule_arn @safety_rule_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_route53_recoverycontrol/safety_rule_reference.rb', line 18 def self.jsii_properties { :safety_rule_arn => "safetyRuleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_route53_recoverycontrol/safety_rule_reference.rb', line 24 def to_jsii result = {} result.merge!({ "safetyRuleArn" => @safety_rule_arn, }) result.compact end |