Class: AWSCDK::DataBrew::CfnDataset::FilterValueProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_brew/cfn_dataset.rb

Overview

Represents a single entry in the ValuesMap of a FilterExpression .

A FilterValue associates the name of a substitution variable in an expression to its value.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value:, value_reference:) ⇒ FilterValueProperty

Returns a new instance of FilterValueProperty.

Parameters:

  • value (String)

    The value to be associated with the substitution variable.

  • value_reference (String)

    The substitution variable reference.



1050
1051
1052
1053
1054
1055
# File 'data_brew/cfn_dataset.rb', line 1050

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

#valueString (readonly)

The value to be associated with the substitution variable.



1061
1062
1063
# File 'data_brew/cfn_dataset.rb', line 1061

def value
  @value
end

#value_referenceString (readonly)

The substitution variable reference.



1066
1067
1068
# File 'data_brew/cfn_dataset.rb', line 1066

def value_reference
  @value_reference
end

Class Method Details

.jsii_propertiesObject



1068
1069
1070
1071
1072
1073
# File 'data_brew/cfn_dataset.rb', line 1068

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

Instance Method Details

#to_jsiiObject



1075
1076
1077
1078
1079
1080
1081
1082
# File 'data_brew/cfn_dataset.rb', line 1075

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