Class: AWSCDK::NimbleStudio::CfnLaunchProfile::VolumeConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
nimble_studio/cfn_launch_profile.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iops: nil, size: nil, throughput: nil) ⇒ VolumeConfigurationProperty

Returns a new instance of VolumeConfigurationProperty.

Parameters:

  • iops (Numeric, nil) (defaults to: nil)
  • size (Numeric, nil) (defaults to: nil)
  • throughput (Numeric, nil) (defaults to: nil)


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

#iopsNumeric? (readonly)



806
807
808
# File 'nimble_studio/cfn_launch_profile.rb', line 806

def iops
  @iops
end

#sizeNumeric? (readonly)



809
810
811
# File 'nimble_studio/cfn_launch_profile.rb', line 809

def size
  @size
end

#throughputNumeric? (readonly)



812
813
814
# File 'nimble_studio/cfn_launch_profile.rb', line 812

def throughput
  @throughput
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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