Class: AWSCDK::DataBrew::CfnRuleset::SubstitutionValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnRuleset::SubstitutionValueProperty
- Defined in:
- data_brew/cfn_ruleset.rb
Overview
A key-value pair to associate an expression's substitution variable names with their values.
Instance Attribute Summary collapse
-
#value ⇒ String
readonly
Value or column name.
-
#value_reference ⇒ String
readonly
Variable name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value:, value_reference:) ⇒ SubstitutionValueProperty
constructor
A new instance of SubstitutionValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(value:, value_reference:) ⇒ SubstitutionValueProperty
Returns a new instance of SubstitutionValueProperty.
693 694 695 696 697 698 |
# File 'data_brew/cfn_ruleset.rb', line 693 def initialize(value:, value_reference:) @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") @value_reference = value_reference Jsii::Type.check_type(@value_reference, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "valueReference") end |
Instance Attribute Details
#value ⇒ String (readonly)
Value or column name.
704 705 706 |
# File 'data_brew/cfn_ruleset.rb', line 704 def value @value end |
#value_reference ⇒ String (readonly)
Variable name.
709 710 711 |
# File 'data_brew/cfn_ruleset.rb', line 709 def value_reference @value_reference end |
Class Method Details
.jsii_properties ⇒ Object
711 712 713 714 715 716 |
# File 'data_brew/cfn_ruleset.rb', line 711 def self.jsii_properties { :value => "value", :value_reference => "valueReference", } end |
Instance Method Details
#to_jsii ⇒ Object
718 719 720 721 722 723 724 725 |
# File 'data_brew/cfn_ruleset.rb', line 718 def to_jsii result = {} result.merge!({ "value" => @value, "valueReference" => @value_reference, }) result.compact end |