Class: AWSCDK::Sagemaker::CfnCluster::FSXLustreConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_cluster.rb

Overview

Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(per_unit_storage_throughput:, size_in_gib:) ⇒ FSXLustreConfigProperty

Returns a new instance of FSXLustreConfigProperty.

Parameters:

  • per_unit_storage_throughput (Numeric)

    The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.

  • size_in_gib (Numeric)

    The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).



1832
1833
1834
1835
1836
1837
# File 'sagemaker/cfn_cluster.rb', line 1832

def initialize(per_unit_storage_throughput:, size_in_gib:)
  @per_unit_storage_throughput = per_unit_storage_throughput
  Jsii::Type.check_type(@per_unit_storage_throughput, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "perUnitStorageThroughput")
  @size_in_gib = size_in_gib
  Jsii::Type.check_type(@size_in_gib, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "sizeInGiB")
end

Instance Attribute Details

#per_unit_storage_throughputNumeric (readonly)

The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.



1843
1844
1845
# File 'sagemaker/cfn_cluster.rb', line 1843

def per_unit_storage_throughput
  @per_unit_storage_throughput
end

#size_in_gibNumeric (readonly)

The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).



1848
1849
1850
# File 'sagemaker/cfn_cluster.rb', line 1848

def size_in_gib
  @size_in_gib
end

Class Method Details

.jsii_propertiesObject



1850
1851
1852
1853
1854
1855
# File 'sagemaker/cfn_cluster.rb', line 1850

def self.jsii_properties
  {
    :per_unit_storage_throughput => "perUnitStorageThroughput",
    :size_in_gib => "sizeInGiB",
  }
end

Instance Method Details

#to_jsiiObject



1857
1858
1859
1860
1861
1862
1863
1864
# File 'sagemaker/cfn_cluster.rb', line 1857

def to_jsii
  result = {}
  result.merge!({
    "perUnitStorageThroughput" => @per_unit_storage_throughput,
    "sizeInGiB" => @size_in_gib,
  })
  result.compact
end