Class: AWSCDK::EntityResolution::CfnMatchingWorkflow::RuleConditionPropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rules:, matching_config: nil) ⇒ RuleConditionPropertiesProperty

Returns a new instance of RuleConditionPropertiesProperty.

Parameters:



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_configAWSCDK::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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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