Class: AWSCDK::Sagemaker::CfnUserProfile::AppLifecycleManagementProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnUserProfile::AppLifecycleManagementProperty
- Defined in:
- sagemaker/cfn_user_profile.rb
Overview
Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications.
Instance Attribute Summary collapse
-
#idle_settings ⇒ AWSCDK::IResolvable, ...
readonly
Settings related to idle shutdown of Studio applications.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(idle_settings: nil) ⇒ AppLifecycleManagementProperty
constructor
A new instance of AppLifecycleManagementProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(idle_settings: nil) ⇒ AppLifecycleManagementProperty
Returns a new instance of AppLifecycleManagementProperty.
587 588 589 590 |
# File 'sagemaker/cfn_user_profile.rb', line 587 def initialize(idle_settings: nil) @idle_settings = idle_settings.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnUserProfile::IdleSettingsProperty.new(**idle_settings.transform_keys(&:to_sym)) : idle_settings Jsii::Type.check_type(@idle_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuVXNlclByb2ZpbGUuSWRsZVNldHRpbmdzUHJvcGVydHkifV19fQ==")), "idleSettings") unless @idle_settings.nil? end |
Instance Attribute Details
#idle_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Settings related to idle shutdown of Studio applications.
596 597 598 |
# File 'sagemaker/cfn_user_profile.rb', line 596 def idle_settings @idle_settings end |
Class Method Details
.jsii_properties ⇒ Object
598 599 600 601 602 |
# File 'sagemaker/cfn_user_profile.rb', line 598 def self.jsii_properties { :idle_settings => "idleSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
604 605 606 607 608 609 610 |
# File 'sagemaker/cfn_user_profile.rb', line 604 def to_jsii result = {} result.merge!({ "idleSettings" => @idle_settings, }) result.compact end |