Class: AWSCDK::DataBrew::CfnDataset::FilterExpressionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnDataset::FilterExpressionProperty
- Defined in:
- data_brew/cfn_dataset.rb
Overview
Represents a structure for defining parameter conditions.
Instance Attribute Summary collapse
-
#expression ⇒ String
readonly
The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions.
-
#values_map ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::DataBrew::CfnDataset::FilterValueProperty>
readonly
The map of substitution variable names to their values used in this filter expression.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(expression:, values_map:) ⇒ FilterExpressionProperty
constructor
A new instance of FilterExpressionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(expression:, values_map:) ⇒ FilterExpressionProperty
Returns a new instance of FilterExpressionProperty.
1003 1004 1005 1006 1007 1008 |
# File 'data_brew/cfn_dataset.rb', line 1003 def initialize(expression:, values_map:) @expression = expression Jsii::Type.check_type(@expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "expression") @values_map = values_map Jsii::Type.check_type(@values_map, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZGF0YWJyZXcuQ2ZuRGF0YXNldC5GaWx0ZXJWYWx1ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "valuesMap") end |
Instance Attribute Details
#expression ⇒ String (readonly)
The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions.
For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.
1016 1017 1018 |
# File 'data_brew/cfn_dataset.rb', line 1016 def expression @expression end |
#values_map ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::DataBrew::CfnDataset::FilterValueProperty> (readonly)
The map of substitution variable names to their values used in this filter expression.
1021 1022 1023 |
# File 'data_brew/cfn_dataset.rb', line 1021 def values_map @values_map end |
Class Method Details
.jsii_properties ⇒ Object
1023 1024 1025 1026 1027 1028 |
# File 'data_brew/cfn_dataset.rb', line 1023 def self.jsii_properties { :expression => "expression", :values_map => "valuesMap", } end |
Instance Method Details
#to_jsii ⇒ Object
1030 1031 1032 1033 1034 1035 1036 1037 |
# File 'data_brew/cfn_dataset.rb', line 1030 def to_jsii result = {} result.merge!({ "expression" => @expression, "valuesMap" => @values_map, }) result.compact end |