Class: AWSCDK::Sagemaker::CfnModelPackage::SourceAlgorithmSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnModelPackage::SourceAlgorithmSpecificationProperty
- Defined in:
- sagemaker/cfn_model_package.rb
Overview
A list of algorithms that were used to create a model package.
Instance Attribute Summary collapse
-
#source_algorithms ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnModelPackage::SourceAlgorithmProperty>
readonly
A list of the algorithms that were used to create a model package.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_algorithms:) ⇒ SourceAlgorithmSpecificationProperty
constructor
A new instance of SourceAlgorithmSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_algorithms:) ⇒ SourceAlgorithmSpecificationProperty
Returns a new instance of SourceAlgorithmSpecificationProperty.
2398 2399 2400 2401 |
# File 'sagemaker/cfn_model_package.rb', line 2398 def initialize(source_algorithms:) @source_algorithms = source_algorithms Jsii::Type.check_type(@source_algorithms, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2FnZW1ha2VyLkNmbk1vZGVsUGFja2FnZS5Tb3VyY2VBbGdvcml0aG1Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "sourceAlgorithms") end |
Instance Attribute Details
#source_algorithms ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnModelPackage::SourceAlgorithmProperty> (readonly)
A list of the algorithms that were used to create a model package.
2407 2408 2409 |
# File 'sagemaker/cfn_model_package.rb', line 2407 def source_algorithms @source_algorithms end |
Class Method Details
.jsii_properties ⇒ Object
2409 2410 2411 2412 2413 |
# File 'sagemaker/cfn_model_package.rb', line 2409 def self.jsii_properties { :source_algorithms => "sourceAlgorithms", } end |
Instance Method Details
#to_jsii ⇒ Object
2415 2416 2417 2418 2419 2420 2421 |
# File 'sagemaker/cfn_model_package.rb', line 2415 def to_jsii result = {} result.merge!({ "sourceAlgorithms" => @source_algorithms, }) result.compact end |