Class: AWSCDK::Sagemaker::CfnSpace::SpaceJupyterLabAppSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnSpace::SpaceJupyterLabAppSettingsProperty
- Defined in:
- sagemaker/cfn_space.rb
Overview
The settings for the JupyterLab application within a space.
Instance Attribute Summary collapse
-
#app_lifecycle_management ⇒ AWSCDK::IResolvable, ...
readonly
Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space.
-
#code_repositories ⇒ AWSCDK::IResolvable, ...
readonly
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
-
#default_resource_spec ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(app_lifecycle_management: nil, code_repositories: nil, default_resource_spec: nil) ⇒ SpaceJupyterLabAppSettingsProperty
constructor
A new instance of SpaceJupyterLabAppSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(app_lifecycle_management: nil, code_repositories: nil, default_resource_spec: nil) ⇒ SpaceJupyterLabAppSettingsProperty
Returns a new instance of SpaceJupyterLabAppSettingsProperty.
1236 1237 1238 1239 1240 1241 1242 1243 |
# File 'sagemaker/cfn_space.rb', line 1236 def initialize(app_lifecycle_management: nil, code_repositories: nil, default_resource_spec: nil) @app_lifecycle_management = app_lifecycle_management.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnSpace::SpaceAppLifecycleManagementProperty.new(**app_lifecycle_management.transform_keys(&:to_sym)) : app_lifecycle_management Jsii::Type.check_type(@app_lifecycle_management, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuU3BhY2UuU3BhY2VBcHBMaWZlY3ljbGVNYW5hZ2VtZW50UHJvcGVydHkifV19fQ==")), "appLifecycleManagement") unless @app_lifecycle_management.nil? @code_repositories = code_repositories Jsii::Type.check_type(@code_repositories, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2FnZW1ha2VyLkNmblNwYWNlLkNvZGVSZXBvc2l0b3J5UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "codeRepositories") unless @code_repositories.nil? @default_resource_spec = default_resource_spec.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnSpace::ResourceSpecProperty.new(**default_resource_spec.transform_keys(&:to_sym)) : default_resource_spec Jsii::Type.check_type(@default_resource_spec, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuU3BhY2UuUmVzb3VyY2VTcGVjUHJvcGVydHkifV19fQ==")), "defaultResourceSpec") unless @default_resource_spec.nil? end |
Instance Attribute Details
#app_lifecycle_management ⇒ AWSCDK::IResolvable, ... (readonly)
Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space.
1249 1250 1251 |
# File 'sagemaker/cfn_space.rb', line 1249 def app_lifecycle_management @app_lifecycle_management end |
#code_repositories ⇒ AWSCDK::IResolvable, ... (readonly)
A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
1254 1255 1256 |
# File 'sagemaker/cfn_space.rb', line 1254 def code_repositories @code_repositories end |
#default_resource_spec ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
1259 1260 1261 |
# File 'sagemaker/cfn_space.rb', line 1259 def default_resource_spec @default_resource_spec end |
Class Method Details
.jsii_properties ⇒ Object
1261 1262 1263 1264 1265 1266 1267 |
# File 'sagemaker/cfn_space.rb', line 1261 def self.jsii_properties { :app_lifecycle_management => "appLifecycleManagement", :code_repositories => "codeRepositories", :default_resource_spec => "defaultResourceSpec", } end |
Instance Method Details
#to_jsii ⇒ Object
1269 1270 1271 1272 1273 1274 1275 1276 1277 |
# File 'sagemaker/cfn_space.rb', line 1269 def to_jsii result = {} result.merge!({ "appLifecycleManagement" => @app_lifecycle_management, "codeRepositories" => @code_repositories, "defaultResourceSpec" => @default_resource_spec, }) result.compact end |