Class: AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingTechniquesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingTechniquesProperty
- Defined in:
- entity_resolution/cfn_id_mapping_workflow.rb
Overview
An object which defines the ID mapping technique and any additional configurations.
Instance Attribute Summary collapse
-
#id_mapping_type ⇒ String?
readonly
The type of ID mapping.
- #normalization_version ⇒ String? readonly
-
#provider_properties ⇒ AWSCDK::IResolvable, ...
readonly
An object which defines any additional configurations required by the provider service.
-
#rule_based_properties ⇒ AWSCDK::IResolvable, ...
readonly
An object which defines any additional configurations required by rule-based matching.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id_mapping_type: nil, normalization_version: nil, provider_properties: nil, rule_based_properties: nil) ⇒ IdMappingTechniquesProperty
constructor
A new instance of IdMappingTechniquesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id_mapping_type: nil, normalization_version: nil, provider_properties: nil, rule_based_properties: nil) ⇒ IdMappingTechniquesProperty
Returns a new instance of IdMappingTechniquesProperty.
746 747 748 749 750 751 752 753 754 755 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 746 def initialize(id_mapping_type: nil, normalization_version: nil, provider_properties: nil, rule_based_properties: nil) @id_mapping_type = id_mapping_type Jsii::Type.check_type(@id_mapping_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "idMappingType") unless @id_mapping_type.nil? @normalization_version = normalization_version Jsii::Type.check_type(@normalization_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "normalizationVersion") unless @normalization_version.nil? @provider_properties = provider_properties.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnIdMappingWorkflow::ProviderPropertiesProperty.new(**provider_properties.transform_keys(&:to_sym)) : provider_properties Jsii::Type.check_type(@provider_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbklkTWFwcGluZ1dvcmtmbG93LlByb3ZpZGVyUHJvcGVydGllc1Byb3BlcnR5In1dfX0=")), "providerProperties") unless @provider_properties.nil? @rule_based_properties = rule_based_properties.is_a?(Hash) ? ::AWSCDK::EntityResolution::CfnIdMappingWorkflow::IdMappingRuleBasedPropertiesProperty.new(**rule_based_properties.transform_keys(&:to_sym)) : rule_based_properties Jsii::Type.check_type(@rule_based_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbnRpdHlyZXNvbHV0aW9uLkNmbklkTWFwcGluZ1dvcmtmbG93LklkTWFwcGluZ1J1bGVCYXNlZFByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "ruleBasedProperties") unless @rule_based_properties.nil? end |
Instance Attribute Details
#id_mapping_type ⇒ String? (readonly)
The type of ID mapping.
761 762 763 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 761 def id_mapping_type @id_mapping_type end |
#normalization_version ⇒ String? (readonly)
764 765 766 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 764 def normalization_version @normalization_version end |
#provider_properties ⇒ AWSCDK::IResolvable, ... (readonly)
An object which defines any additional configurations required by the provider service.
769 770 771 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 769 def provider_properties @provider_properties end |
#rule_based_properties ⇒ AWSCDK::IResolvable, ... (readonly)
An object which defines any additional configurations required by rule-based matching.
774 775 776 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 774 def rule_based_properties @rule_based_properties end |
Class Method Details
.jsii_properties ⇒ Object
776 777 778 779 780 781 782 783 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 776 def self.jsii_properties { :id_mapping_type => "idMappingType", :normalization_version => "normalizationVersion", :provider_properties => "providerProperties", :rule_based_properties => "ruleBasedProperties", } end |
Instance Method Details
#to_jsii ⇒ Object
785 786 787 788 789 790 791 792 793 794 |
# File 'entity_resolution/cfn_id_mapping_workflow.rb', line 785 def to_jsii result = {} result.merge!({ "idMappingType" => @id_mapping_type, "normalizationVersion" => @normalization_version, "providerProperties" => @provider_properties, "ruleBasedProperties" => @rule_based_properties, }) result.compact end |