Class: AWSCDK::Sagemaker::CfnCluster::EnvironmentConfigProperty

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

Overview

The configuration for the restricted instance groups (RIG) environment.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(f_sx_lustre_config: nil) ⇒ EnvironmentConfigProperty

Returns a new instance of EnvironmentConfigProperty.

Parameters:



1798
1799
1800
1801
# File 'sagemaker/cfn_cluster.rb', line 1798

def initialize(f_sx_lustre_config: nil)
  @f_sx_lustre_config = f_sx_lustre_config.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnCluster::FSXLustreConfigProperty.new(**f_sx_lustre_config.transform_keys(&:to_sym)) : f_sx_lustre_config
  Jsii::Type.check_type(@f_sx_lustre_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuQ2x1c3Rlci5GU3hMdXN0cmVDb25maWdQcm9wZXJ0eSJ9XX19")), "fSxLustreConfig") unless @f_sx_lustre_config.nil?
end

Instance Attribute Details

#f_sx_lustre_configAWSCDK::IResolvable, ... (readonly)

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



1807
1808
1809
# File 'sagemaker/cfn_cluster.rb', line 1807

def f_sx_lustre_config
  @f_sx_lustre_config
end

Class Method Details

.jsii_propertiesObject



1809
1810
1811
1812
1813
# File 'sagemaker/cfn_cluster.rb', line 1809

def self.jsii_properties
  {
    :f_sx_lustre_config => "fSxLustreConfig",
  }
end

Instance Method Details

#to_jsiiObject



1815
1816
1817
1818
1819
1820
1821
# File 'sagemaker/cfn_cluster.rb', line 1815

def to_jsii
  result = {}
  result.merge!({
    "fSxLustreConfig" => @f_sx_lustre_config,
  })
  result.compact
end