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