Class: AWSCDK::Deadline::CfnFleet::EC2EbsVolumeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Deadline::CfnFleet::EC2EbsVolumeProperty
- Defined in:
- deadline/cfn_fleet.rb
Overview
Specifies the EBS volume.
Instance Attribute Summary collapse
-
#iops ⇒ Numeric?
readonly
The IOPS per volume.
-
#size_gib ⇒ Numeric?
readonly
The EBS volume size in GiB.
-
#throughput_mib ⇒ Numeric?
readonly
The throughput per volume in MiB.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(iops: nil, size_gib: nil, throughput_mib: nil) ⇒ EC2EbsVolumeProperty
constructor
A new instance of EC2EbsVolumeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(iops: nil, size_gib: nil, throughput_mib: nil) ⇒ EC2EbsVolumeProperty
Returns a new instance of EC2EbsVolumeProperty.
1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'deadline/cfn_fleet.rb', line 1105 def initialize(iops: nil, size_gib: nil, throughput_mib: nil) @iops = iops Jsii::Type.check_type(@iops, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "iops") unless @iops.nil? @size_gib = size_gib Jsii::Type.check_type(@size_gib, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "sizeGiB") unless @size_gib.nil? @throughput_mib = throughput_mib Jsii::Type.check_type(@throughput_mib, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "throughputMiB") unless @throughput_mib.nil? end |
Instance Attribute Details
#iops ⇒ Numeric? (readonly)
Note:
Default: - 3000
The IOPS per volume.
1119 1120 1121 |
# File 'deadline/cfn_fleet.rb', line 1119 def iops @iops end |
#size_gib ⇒ Numeric? (readonly)
Note:
Default: - 250
The EBS volume size in GiB.
1125 1126 1127 |
# File 'deadline/cfn_fleet.rb', line 1125 def size_gib @size_gib end |
#throughput_mib ⇒ Numeric? (readonly)
Note:
Default: - 125
The throughput per volume in MiB.
1131 1132 1133 |
# File 'deadline/cfn_fleet.rb', line 1131 def throughput_mib @throughput_mib end |
Class Method Details
.jsii_properties ⇒ Object
1133 1134 1135 1136 1137 1138 1139 |
# File 'deadline/cfn_fleet.rb', line 1133 def self.jsii_properties { :iops => "iops", :size_gib => "sizeGiB", :throughput_mib => "throughputMiB", } end |
Instance Method Details
#to_jsii ⇒ Object
1141 1142 1143 1144 1145 1146 1147 1148 1149 |
# File 'deadline/cfn_fleet.rb', line 1141 def to_jsii result = {} result.merge!({ "iops" => @iops, "sizeGiB" => @size_gib, "throughputMiB" => @throughput_mib, }) result.compact end |