Class: AWSCDK::EC2::CfnEC2Fleet::TotalLocalStorageGBRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnEC2Fleet::TotalLocalStorageGBRequestProperty
- Defined in:
- ec2/cfn_ec2_fleet.rb
Overview
The minimum and maximum amount of total local storage, in GB.
Instance Attribute Summary collapse
-
#max ⇒ Numeric?
readonly
The maximum amount of total local storage, in GB.
-
#min ⇒ Numeric?
readonly
The minimum amount of total local storage, in GB.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max: nil, min: nil) ⇒ TotalLocalStorageGBRequestProperty
constructor
A new instance of TotalLocalStorageGBRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max: nil, min: nil) ⇒ TotalLocalStorageGBRequestProperty
Returns a new instance of TotalLocalStorageGBRequestProperty.
3061 3062 3063 3064 3065 3066 |
# File 'ec2/cfn_ec2_fleet.rb', line 3061 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 amount of total local storage, in GB.
To specify no maximum limit, omit this parameter.
3074 3075 3076 |
# File 'ec2/cfn_ec2_fleet.rb', line 3074 def max @max end |
#min ⇒ Numeric? (readonly)
The minimum amount of total local storage, in GB.
To specify no minimum limit, omit this parameter.
3081 3082 3083 |
# File 'ec2/cfn_ec2_fleet.rb', line 3081 def min @min end |
Class Method Details
.jsii_properties ⇒ Object
3083 3084 3085 3086 3087 3088 |
# File 'ec2/cfn_ec2_fleet.rb', line 3083 def self.jsii_properties { :max => "max", :min => "min", } end |
Instance Method Details
#to_jsii ⇒ Object
3090 3091 3092 3093 3094 3095 3096 3097 |
# File 'ec2/cfn_ec2_fleet.rb', line 3090 def to_jsii result = {} result.merge!({ "max" => @max, "min" => @min, }) result.compact end |