Class: AWSCDK::Interfaces::AWSAutoscaling::ScheduledActionReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSAutoscaling::ScheduledActionReference
- Defined in:
- interfaces/aws_autoscaling/scheduled_action_reference.rb
Overview
A reference to a ScheduledAction resource.
Instance Attribute Summary collapse
-
#auto_scaling_group_name ⇒ String
readonly
The AutoScalingGroupName of the ScheduledAction resource.
-
#scheduled_action_name ⇒ String
readonly
The ScheduledActionName of the ScheduledAction resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_scaling_group_name:, scheduled_action_name:) ⇒ ScheduledActionReference
constructor
A new instance of ScheduledActionReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_scaling_group_name:, scheduled_action_name:) ⇒ ScheduledActionReference
Returns a new instance of ScheduledActionReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_autoscaling/scheduled_action_reference.rb', line 9 def initialize(auto_scaling_group_name:, scheduled_action_name:) @auto_scaling_group_name = auto_scaling_group_name Jsii::Type.check_type(@auto_scaling_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "autoScalingGroupName") @scheduled_action_name = scheduled_action_name Jsii::Type.check_type(@scheduled_action_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scheduledActionName") end |
Instance Attribute Details
#auto_scaling_group_name ⇒ String (readonly)
The AutoScalingGroupName of the ScheduledAction resource.
19 20 21 |
# File 'interfaces/aws_autoscaling/scheduled_action_reference.rb', line 19 def auto_scaling_group_name @auto_scaling_group_name end |
#scheduled_action_name ⇒ String (readonly)
The ScheduledActionName of the ScheduledAction resource.
23 24 25 |
# File 'interfaces/aws_autoscaling/scheduled_action_reference.rb', line 23 def scheduled_action_name @scheduled_action_name end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_autoscaling/scheduled_action_reference.rb', line 25 def self.jsii_properties { :auto_scaling_group_name => "autoScalingGroupName", :scheduled_action_name => "scheduledActionName", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_autoscaling/scheduled_action_reference.rb', line 32 def to_jsii result = {} result.merge!({ "autoScalingGroupName" => @auto_scaling_group_name, "scheduledActionName" => @scheduled_action_name, }) result.compact end |