Class: AWSCDK::NimbleStudio::CfnLaunchProfile::VolumeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NimbleStudio::CfnLaunchProfile::VolumeConfigurationProperty
- Defined in:
- nimble_studio/cfn_launch_profile.rb
Overview
Instance Attribute Summary collapse
- #iops ⇒ Numeric? readonly
- #size ⇒ Numeric? readonly
- #throughput ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(iops: nil, size: nil, throughput: nil) ⇒ VolumeConfigurationProperty
constructor
A new instance of VolumeConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(iops: nil, size: nil, throughput: nil) ⇒ VolumeConfigurationProperty
Returns a new instance of VolumeConfigurationProperty.
795 796 797 798 799 800 801 802 |
# File 'nimble_studio/cfn_launch_profile.rb', line 795 def initialize(iops: nil, size: nil, throughput: nil) @iops = iops Jsii::Type.check_type(@iops, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "iops") unless @iops.nil? @size = size Jsii::Type.check_type(@size, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "size") unless @size.nil? @throughput = throughput Jsii::Type.check_type(@throughput, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "throughput") unless @throughput.nil? end |
Instance Attribute Details
#iops ⇒ Numeric? (readonly)
806 807 808 |
# File 'nimble_studio/cfn_launch_profile.rb', line 806 def iops @iops end |
#size ⇒ Numeric? (readonly)
809 810 811 |
# File 'nimble_studio/cfn_launch_profile.rb', line 809 def size @size end |
#throughput ⇒ Numeric? (readonly)
812 813 814 |
# File 'nimble_studio/cfn_launch_profile.rb', line 812 def throughput @throughput end |
Class Method Details
.jsii_properties ⇒ Object
814 815 816 817 818 819 820 |
# File 'nimble_studio/cfn_launch_profile.rb', line 814 def self.jsii_properties { :iops => "iops", :size => "size", :throughput => "throughput", } end |
Instance Method Details
#to_jsii ⇒ Object
822 823 824 825 826 827 828 829 830 |
# File 'nimble_studio/cfn_launch_profile.rb', line 822 def to_jsii result = {} result.merge!({ "iops" => @iops, "size" => @size, "throughput" => @throughput, }) result.compact end |