Class: AWSCDK::Sagemaker::CfnDomain::JupyterServerAppSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnDomain::JupyterServerAppSettingsProperty
- Defined in:
- sagemaker/cfn_domain.rb
Overview
The JupyterServer app settings.
Instance Attribute Summary collapse
-
#default_resource_spec ⇒ AWSCDK::IResolvable, ...
readonly
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.
-
#lifecycle_config_arns ⇒ Array<String>?
readonly
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(default_resource_spec: nil, lifecycle_config_arns: nil) ⇒ JupyterServerAppSettingsProperty
constructor
A new instance of JupyterServerAppSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(default_resource_spec: nil, lifecycle_config_arns: nil) ⇒ JupyterServerAppSettingsProperty
Returns a new instance of JupyterServerAppSettingsProperty.
1670 1671 1672 1673 1674 1675 |
# File 'sagemaker/cfn_domain.rb', line 1670 def initialize(default_resource_spec: nil, lifecycle_config_arns: nil) @default_resource_spec = default_resource_spec.is_a?(Hash) ? ::AWSCDK::Sagemaker::CfnDomain::ResourceSpecProperty.new(**default_resource_spec.transform_keys(&:to_sym)) : default_resource_spec Jsii::Type.check_type(@default_resource_spec, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYWdlbWFrZXIuQ2ZuRG9tYWluLlJlc291cmNlU3BlY1Byb3BlcnR5In1dfX0=")), "defaultResourceSpec") unless @default_resource_spec.nil? @lifecycle_config_arns = lifecycle_config_arns Jsii::Type.check_type(@lifecycle_config_arns, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "lifecycleConfigArns") unless @lifecycle_config_arns.nil? end |
Instance Attribute Details
#default_resource_spec ⇒ AWSCDK::IResolvable, ... (readonly)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.
1681 1682 1683 |
# File 'sagemaker/cfn_domain.rb', line 1681 def default_resource_spec @default_resource_spec end |
#lifecycle_config_arns ⇒ Array<String>? (readonly)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp.
If you use this parameter, the DefaultResourceSpec parameter is also required.
To remove a Lifecycle Config, you must set
LifecycleConfigArnsto an empty list.
1690 1691 1692 |
# File 'sagemaker/cfn_domain.rb', line 1690 def lifecycle_config_arns @lifecycle_config_arns end |
Class Method Details
.jsii_properties ⇒ Object
1692 1693 1694 1695 1696 1697 |
# File 'sagemaker/cfn_domain.rb', line 1692 def self.jsii_properties { :default_resource_spec => "defaultResourceSpec", :lifecycle_config_arns => "lifecycleConfigArns", } end |
Instance Method Details
#to_jsii ⇒ Object
1699 1700 1701 1702 1703 1704 1705 1706 |
# File 'sagemaker/cfn_domain.rb', line 1699 def to_jsii result = {} result.merge!({ "defaultResourceSpec" => @default_resource_spec, "lifecycleConfigArns" => @lifecycle_config_arns, }) result.compact end |