Class: AWSCDK::Sagemaker::CfnDomain::RSessionAppSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnDomain::RSessionAppSettingsProperty
- Defined in:
- sagemaker/cfn_domain.rb
Overview
A collection of settings that apply to an RSessionGateway app.
Instance Attribute Summary collapse
-
#custom_images ⇒ AWSCDK::IResolvable, ...
readonly
A list of custom SageMaker AI images that are configured to run as a RSession app.
-
#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(custom_images: nil, default_resource_spec: nil) ⇒ RSessionAppSettingsProperty
constructor
A new instance of RSessionAppSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_images: nil, default_resource_spec: nil) ⇒ RSessionAppSettingsProperty
Returns a new instance of RSessionAppSettingsProperty.
1780 1781 1782 1783 1784 1785 |
# File 'sagemaker/cfn_domain.rb', line 1780 def initialize(custom_images: nil, default_resource_spec: nil) @custom_images = custom_images Jsii::Type.check_type(@custom_images, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2FnZW1ha2VyLkNmbkRvbWFpbi5DdXN0b21JbWFnZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "customImages") unless @custom_images.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? end |
Instance Attribute Details
#custom_images ⇒ AWSCDK::IResolvable, ... (readonly)
A list of custom SageMaker AI images that are configured to run as a RSession app.
1791 1792 1793 |
# File 'sagemaker/cfn_domain.rb', line 1791 def custom_images @custom_images 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.
1796 1797 1798 |
# File 'sagemaker/cfn_domain.rb', line 1796 def default_resource_spec @default_resource_spec end |
Class Method Details
.jsii_properties ⇒ Object
1798 1799 1800 1801 1802 1803 |
# File 'sagemaker/cfn_domain.rb', line 1798 def self.jsii_properties { :custom_images => "customImages", :default_resource_spec => "defaultResourceSpec", } end |
Instance Method Details
#to_jsii ⇒ Object
1805 1806 1807 1808 1809 1810 1811 1812 |
# File 'sagemaker/cfn_domain.rb', line 1805 def to_jsii result = {} result.merge!({ "customImages" => @custom_images, "defaultResourceSpec" => @default_resource_spec, }) result.compact end |