Class: AWSCDK::Sagemaker::CfnCluster::FSXLustreConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnCluster::FSXLustreConfigProperty
- 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
-
#per_unit_storage_throughput ⇒ Numeric
readonly
The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.
-
#size_in_gib ⇒ Numeric
readonly
The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(per_unit_storage_throughput:, size_in_gib:) ⇒ FSXLustreConfigProperty
constructor
A new instance of FSXLustreConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(per_unit_storage_throughput:, size_in_gib:) ⇒ FSXLustreConfigProperty
Returns a new instance of FSXLustreConfigProperty.
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_throughput ⇒ Numeric (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_gib ⇒ Numeric (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_properties ⇒ Object
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_jsii ⇒ Object
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 |