Class: AWSCDK::EntityResolution::CfnMatchingWorkflow::RuleConditionPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EntityResolution::CfnMatchingWorkflow::RuleConditionPropertiesProperty
- Defined in:
- entity_resolution/cfn_matching_workflow.rb
Overview
The properties of a rule condition that provides the ability to use more complex syntax.
Instance Attribute Summary collapse
-
#matching_config ⇒ AWSCDK::IResolvable, ...
readonly
Configuration for matching behavior within rule condition properties.
-
#rules ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnMatchingWorkflow::RuleConditionProperty>
readonly
A list of rule objects, each of which have fields
ruleNameandcondition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rules:, matching_config: nil) ⇒ RuleConditionPropertiesProperty
constructor
A new instance of RuleConditionPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(rules:, matching_config: nil) ⇒ RuleConditionPropertiesProperty
Returns a new instance of RuleConditionPropertiesProperty.
1162 1163 1164 1165 1166 1167 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 1162 def initialize(rules:, matching_config: nil) @rules = rules Jsii::Type.check_type(@rules, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZW50aXR5cmVzb2x1dGlvbi5DZm5NYXRjaGluZ1dvcmtmbG93LlJ1bGVDb25kaXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "rules") @matching_config = matching_config.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnMatchingWorkflow::MatchingConfigProperty.new(**matching_config.transform_keys(&:to_sym)) : matching_config Jsii::Type.check_type(@matching_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbk1hdGNoaW5nV29ya2Zsb3cuTWF0Y2hpbmdDb25maWdQcm9wZXJ0eSJ9XX19")), "matchingConfig") unless @matching_config.nil? end |
Instance Attribute Details
#matching_config ⇒ AWSCDK::IResolvable, ... (readonly)
Configuration for matching behavior within rule condition properties.
1178 1179 1180 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 1178 def matching_config @matching_config end |
#rules ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::EntityResolution::CfnMatchingWorkflow::RuleConditionProperty> (readonly)
A list of rule objects, each of which have fields ruleName and condition .
1173 1174 1175 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 1173 def rules @rules end |
Class Method Details
.jsii_properties ⇒ Object
1180 1181 1182 1183 1184 1185 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 1180 def self.jsii_properties { :rules => "rules", :matching_config => "matchingConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
1187 1188 1189 1190 1191 1192 1193 1194 |
# File 'entity_resolution/cfn_matching_workflow.rb', line 1187 def to_jsii result = {} result.merge!({ "rules" => @rules, "matchingConfig" => @matching_config, }) result.compact end |