Class: AWSCDK::Sagemaker::CfnSpace::SpaceCodeEditorAppSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnSpace::SpaceCodeEditorAppSettingsProperty
- Defined in:
- sagemaker/cfn_space.rb
Overview
The application settings for a Code Editor space.
Instance Attribute Summary collapse
-
#app_lifecycle_management ⇒ AWSCDK::IResolvable, ...
readonly
Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.
-
#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, default_resource_spec: nil) ⇒ SpaceCodeEditorAppSettingsProperty
constructor
A new instance of SpaceCodeEditorAppSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(app_lifecycle_management: nil, default_resource_spec: nil) ⇒ SpaceCodeEditorAppSettingsProperty
Returns a new instance of SpaceCodeEditorAppSettingsProperty.
1159 1160 1161 1162 1163 1164 |
# File 'sagemaker/cfn_space.rb', line 1159 def initialize(app_lifecycle_management: 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? @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 CodeEditor applications in a space.
1170 1171 1172 |
# File 'sagemaker/cfn_space.rb', line 1170 def app_lifecycle_management @app_lifecycle_management 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.
1175 1176 1177 |
# File 'sagemaker/cfn_space.rb', line 1175 def default_resource_spec @default_resource_spec end |
Class Method Details
.jsii_properties ⇒ Object
1177 1178 1179 1180 1181 1182 |
# File 'sagemaker/cfn_space.rb', line 1177 def self.jsii_properties { :app_lifecycle_management => "appLifecycleManagement", :default_resource_spec => "defaultResourceSpec", } end |
Instance Method Details
#to_jsii ⇒ Object
1184 1185 1186 1187 1188 1189 1190 1191 |
# File 'sagemaker/cfn_space.rb', line 1184 def to_jsii result = {} result.merge!({ "appLifecycleManagement" => @app_lifecycle_management, "defaultResourceSpec" => @default_resource_spec, }) result.compact end |