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