Class: AWSCDK::Sagemaker::CfnCluster::RestrictedInstanceGroupsConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnCluster::RestrictedInstanceGroupsConfigProperty
- Defined in:
- sagemaker/cfn_cluster.rb
Overview
The cluster-level configuration for restricted instance groups, including shared environment settings for inter-RIG communication and FSx Lustre sharing.
Instance Attribute Summary collapse
-
#shared_environment_config ⇒ AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnCluster::SharedEnvironmentConfigProperty
readonly
The shared environment configuration for restricted instance groups that use cluster-level shared FSx Lustre storage.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(shared_environment_config:) ⇒ RestrictedInstanceGroupsConfigProperty
constructor
A new instance of RestrictedInstanceGroupsConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(shared_environment_config:) ⇒ RestrictedInstanceGroupsConfigProperty
Returns a new instance of RestrictedInstanceGroupsConfigProperty.
1952 1953 1954 1955 |
# File 'sagemaker/cfn_cluster.rb', line 1952 def initialize(shared_environment_config:) @shared_environment_config = shared_environment_config.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnCluster::SharedEnvironmentConfigProperty.new(**shared_environment_config.transform_keys(&:to_sym)) : shared_environment_config Jsii::Type.check_type(@shared_environment_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuQ2x1c3Rlci5TaGFyZWRFbnZpcm9ubWVudENvbmZpZ1Byb3BlcnR5In1dfX0=")), "sharedEnvironmentConfig") end |
Instance Attribute Details
#shared_environment_config ⇒ AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnCluster::SharedEnvironmentConfigProperty (readonly)
The shared environment configuration for restricted instance groups that use cluster-level shared FSx Lustre storage.
1961 1962 1963 |
# File 'sagemaker/cfn_cluster.rb', line 1961 def shared_environment_config @shared_environment_config end |
Class Method Details
.jsii_properties ⇒ Object
1963 1964 1965 1966 1967 |
# File 'sagemaker/cfn_cluster.rb', line 1963 def self.jsii_properties { :shared_environment_config => "sharedEnvironmentConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
1969 1970 1971 1972 1973 1974 1975 |
# File 'sagemaker/cfn_cluster.rb', line 1969 def to_jsii result = {} result.merge!({ "sharedEnvironmentConfig" => @shared_environment_config, }) result.compact end |