Class: AWSCDK::Autoscaling::CfnAutoScalingGroup::BaselineEbsBandwidthMbpsRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Autoscaling::CfnAutoScalingGroup::BaselineEbsBandwidthMbpsRequestProperty
- Defined in:
- autoscaling/cfn_auto_scaling_group.rb
Overview
BaselineEbsBandwidthMbpsRequest is a property of the InstanceRequirements property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
Instance Attribute Summary collapse
-
#max ⇒ Numeric?
readonly
The maximum value in Mbps.
-
#min ⇒ Numeric?
readonly
The minimum value in Mbps.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max: nil, min: nil) ⇒ BaselineEbsBandwidthMbpsRequestProperty
constructor
A new instance of BaselineEbsBandwidthMbpsRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max: nil, min: nil) ⇒ BaselineEbsBandwidthMbpsRequestProperty
Returns a new instance of BaselineEbsBandwidthMbpsRequestProperty.
1181 1182 1183 1184 1185 1186 |
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1181 def initialize(max: nil, min: nil) @max = max Jsii::Type.check_type(@max, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "max") unless @max.nil? @min = min Jsii::Type.check_type(@min, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "min") unless @min.nil? end |
Instance Attribute Details
#max ⇒ Numeric? (readonly)
The maximum value in Mbps.
1192 1193 1194 |
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1192 def max @max end |
#min ⇒ Numeric? (readonly)
The minimum value in Mbps.
1197 1198 1199 |
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1197 def min @min end |
Class Method Details
.jsii_properties ⇒ Object
1199 1200 1201 1202 1203 1204 |
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1199 def self.jsii_properties { :max => "max", :min => "min", } end |
Instance Method Details
#to_jsii ⇒ Object
1206 1207 1208 1209 1210 1211 1212 1213 |
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1206 def to_jsii result = {} result.merge!({ "max" => @max, "min" => @min, }) result.compact end |