Class: AWSCDK::EntityResolution::CfnMatchingWorkflow::ResolutionTechniquesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
entity_resolution/cfn_matching_workflow.rb

Overview

An object which defines the resolutionType and the ruleBasedProperties .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provider_properties: nil, resolution_type: nil, rule_based_properties: nil, rule_condition_properties: nil) ⇒ ResolutionTechniquesProperty

Returns a new instance of ResolutionTechniquesProperty.

Parameters:



1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
# File 'entity_resolution/cfn_matching_workflow.rb', line 1036

def initialize(provider_properties: nil, resolution_type: nil, rule_based_properties: nil, rule_condition_properties: nil)
  @provider_properties = provider_properties.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnMatchingWorkflow::ProviderPropertiesProperty.new(**provider_properties.transform_keys(&:to_sym)) : provider_properties
  Jsii::Type.check_type(@provider_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbk1hdGNoaW5nV29ya2Zsb3cuUHJvdmlkZXJQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "providerProperties") unless @provider_properties.nil?
  @resolution_type = resolution_type
  Jsii::Type.check_type(@resolution_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resolutionType") unless @resolution_type.nil?
  @rule_based_properties = rule_based_properties.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnMatchingWorkflow::RuleBasedPropertiesProperty.new(**rule_based_properties.transform_keys(&:to_sym)) : rule_based_properties
  Jsii::Type.check_type(@rule_based_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbk1hdGNoaW5nV29ya2Zsb3cuUnVsZUJhc2VkUHJvcGVydGllc1Byb3BlcnR5In1dfX0=")), "ruleBasedProperties") unless @rule_based_properties.nil?
  @rule_condition_properties = rule_condition_properties.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnMatchingWorkflow::RuleConditionPropertiesProperty.new(**rule_condition_properties.transform_keys(&:to_sym)) : rule_condition_properties
  Jsii::Type.check_type(@rule_condition_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbk1hdGNoaW5nV29ya2Zsb3cuUnVsZUNvbmRpdGlvblByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "ruleConditionProperties") unless @rule_condition_properties.nil?
end

Instance Attribute Details

#provider_propertiesAWSCDK::IResolvable, ... (readonly)

The properties of the provider service.



1051
1052
1053
# File 'entity_resolution/cfn_matching_workflow.rb', line 1051

def provider_properties
  @provider_properties
end

#resolution_typeString? (readonly)

The type of matching workflow to create. Specify one of the following types:.

  • RULE_MATCHING : Match records using configurable rule-based criteria
  • ML_MATCHING : Match records using machine learning models
  • PROVIDER : Match records using a third-party matching provider


1060
1061
1062
# File 'entity_resolution/cfn_matching_workflow.rb', line 1060

def resolution_type
  @resolution_type
end

#rule_based_propertiesAWSCDK::IResolvable, ... (readonly)

An object which defines the list of matching rules to run and has a field rules , which is a list of rule objects.



1065
1066
1067
# File 'entity_resolution/cfn_matching_workflow.rb', line 1065

def rule_based_properties
  @rule_based_properties
end

#rule_condition_propertiesAWSCDK::IResolvable, ... (readonly)

An object containing the rules for a matching workflow.



1070
1071
1072
# File 'entity_resolution/cfn_matching_workflow.rb', line 1070

def rule_condition_properties
  @rule_condition_properties
end

Class Method Details

.jsii_propertiesObject



1072
1073
1074
1075
1076
1077
1078
1079
# File 'entity_resolution/cfn_matching_workflow.rb', line 1072

def self.jsii_properties
  {
    :provider_properties => "providerProperties",
    :resolution_type => "resolutionType",
    :rule_based_properties => "ruleBasedProperties",
    :rule_condition_properties => "ruleConditionProperties",
  }
end

Instance Method Details

#to_jsiiObject



1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'entity_resolution/cfn_matching_workflow.rb', line 1081

def to_jsii
  result = {}
  result.merge!({
    "providerProperties" => @provider_properties,
    "resolutionType" => @resolution_type,
    "ruleBasedProperties" => @rule_based_properties,
    "ruleConditionProperties" => @rule_condition_properties,
  })
  result.compact
end