Class: AWSCDK::Deadline::CfnFleet::PersistentVolumeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Deadline::CfnFleet::PersistentVolumeConfigurationProperty
- Defined in:
- deadline/cfn_fleet.rb
Overview
Instance Attribute Summary collapse
- #iops ⇒ Numeric? readonly
- #last_used_ttl_hours ⇒ Numeric? readonly
- #mount_path ⇒ String readonly
- #size_gib ⇒ Numeric? readonly
- #throughput_mib ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mount_path:, iops: nil, last_used_ttl_hours: nil, size_gib: nil, throughput_mib: nil) ⇒ PersistentVolumeConfigurationProperty
constructor
A new instance of PersistentVolumeConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mount_path:, iops: nil, last_used_ttl_hours: nil, size_gib: nil, throughput_mib: nil) ⇒ PersistentVolumeConfigurationProperty
Returns a new instance of PersistentVolumeConfigurationProperty.
1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 |
# File 'deadline/cfn_fleet.rb', line 1444 def initialize(mount_path:, iops: nil, last_used_ttl_hours: nil, size_gib: nil, throughput_mib: nil) @mount_path = mount_path Jsii::Type.check_type(@mount_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mountPath") @iops = iops Jsii::Type.check_type(@iops, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "iops") unless @iops.nil? @last_used_ttl_hours = last_used_ttl_hours Jsii::Type.check_type(@last_used_ttl_hours, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "lastUsedTtlHours") unless @last_used_ttl_hours.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
1463 1464 1465 |
# File 'deadline/cfn_fleet.rb', line 1463 def iops @iops end |
#last_used_ttl_hours ⇒ Numeric? (readonly)
Note:
Default: - 168
1467 1468 1469 |
# File 'deadline/cfn_fleet.rb', line 1467 def last_used_ttl_hours @last_used_ttl_hours end |
#mount_path ⇒ String (readonly)
1459 1460 1461 |
# File 'deadline/cfn_fleet.rb', line 1459 def mount_path @mount_path end |
#size_gib ⇒ Numeric? (readonly)
Note:
Default: - 250
1471 1472 1473 |
# File 'deadline/cfn_fleet.rb', line 1471 def size_gib @size_gib end |
#throughput_mib ⇒ Numeric? (readonly)
Note:
Default: - 125
1475 1476 1477 |
# File 'deadline/cfn_fleet.rb', line 1475 def throughput_mib @throughput_mib end |
Class Method Details
.jsii_properties ⇒ Object
1477 1478 1479 1480 1481 1482 1483 1484 1485 |
# File 'deadline/cfn_fleet.rb', line 1477 def self.jsii_properties { :mount_path => "mountPath", :iops => "iops", :last_used_ttl_hours => "lastUsedTtlHours", :size_gib => "sizeGiB", :throughput_mib => "throughputMiB", } end |
Instance Method Details
#to_jsii ⇒ Object
1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'deadline/cfn_fleet.rb', line 1487 def to_jsii result = {} result.merge!({ "mountPath" => @mount_path, "iops" => @iops, "lastUsedTtlHours" => @last_used_ttl_hours, "sizeGiB" => @size_gib, "throughputMiB" => @throughput_mib, }) result.compact end |