Class: AWSCDK::Events::CfnRule::SageMakerPipelineParameterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
events/cfn_rule.rb

Overview

Name/Value pair of a parameter to start execution of a SageMaker AI Model Building Pipeline.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, value:) ⇒ SageMakerPipelineParameterProperty

Returns a new instance of SageMakerPipelineParameterProperty.

Parameters:

  • name (String)

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

  • value (String)

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



1723
1724
1725
1726
1727
1728
# File 'events/cfn_rule.rb', line 1723

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 AI Model Building Pipeline.



1734
1735
1736
# File 'events/cfn_rule.rb', line 1734

def name
  @name
end

#valueString (readonly)

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



1739
1740
1741
# File 'events/cfn_rule.rb', line 1739

def value
  @value
end

Class Method Details

.jsii_propertiesObject



1741
1742
1743
1744
1745
1746
# File 'events/cfn_rule.rb', line 1741

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

Instance Method Details

#to_jsiiObject



1748
1749
1750
1751
1752
1753
1754
1755
# File 'events/cfn_rule.rb', line 1748

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