Class: AWSCDK::SchedulerTargets::SageMakerPipelineParameter

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
scheduler_targets/sage_maker_pipeline_parameter.rb

Overview

Properties for a pipeline parameter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, value:) ⇒ SageMakerPipelineParameter

Returns a new instance of SageMakerPipelineParameter.

Parameters:

  • name (String)

    Name of parameter to start execution of a SageMaker Model Building Pipeline.

  • value (String)

    Value of parameter to start execution of a SageMaker Model Building Pipeline.



9
10
11
12
13
14
# File 'scheduler_targets/sage_maker_pipeline_parameter.rb', line 9

def initialize(name:, value:)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @value = value
  Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value")
end

Instance Attribute Details

#nameString (readonly)

Name of parameter to start execution of a SageMaker Model Building Pipeline.

Returns:

  • (String)


19
20
21
# File 'scheduler_targets/sage_maker_pipeline_parameter.rb', line 19

def name
  @name
end

#valueString (readonly)

Value of parameter to start execution of a SageMaker Model Building Pipeline.

Returns:

  • (String)


23
24
25
# File 'scheduler_targets/sage_maker_pipeline_parameter.rb', line 23

def value
  @value
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'scheduler_targets/sage_maker_pipeline_parameter.rb', line 25

def self.jsii_properties
  {
    :name => "name",
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'scheduler_targets/sage_maker_pipeline_parameter.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "value" => @value,
  })
  result.compact
end