Class: AWSCDK::Sagemaker::CfnModelPackage::SourceAlgorithmSpecificationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_model_package.rb

Overview

A list of algorithms that were used to create a model package.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_algorithms:) ⇒ SourceAlgorithmSpecificationProperty

Returns a new instance of SourceAlgorithmSpecificationProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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