Class: AWSCDK::CustomerProfiles::CfnDomain::AutoMergingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnDomain::AutoMergingProperty
- Defined in:
- customer_profiles/cfn_domain.rb
Overview
Configuration information about the auto-merging process.
Instance Attribute Summary collapse
-
#conflict_resolution ⇒ AWSCDK::IResolvable, ...
readonly
Determines how the auto-merging process should resolve conflicts between different profiles.
-
#consolidation ⇒ AWSCDK::IResolvable, ...
readonly
A list of matching attributes that represent matching criteria.
-
#enabled ⇒ Boolean, AWSCDK::IResolvable
readonly
The flag that enables the auto-merging of duplicate profiles.
-
#min_allowed_confidence_score_for_merging ⇒ Numeric?
readonly
A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled:, conflict_resolution: nil, consolidation: nil, min_allowed_confidence_score_for_merging: nil) ⇒ AutoMergingProperty
constructor
A new instance of AutoMergingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled:, conflict_resolution: nil, consolidation: nil, min_allowed_confidence_score_for_merging: nil) ⇒ AutoMergingProperty
Returns a new instance of AutoMergingProperty.
728 729 730 731 732 733 734 735 736 737 |
# File 'customer_profiles/cfn_domain.rb', line 728 def initialize(enabled:, conflict_resolution: nil, consolidation: nil, min_allowed_confidence_score_for_merging: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") @conflict_resolution = conflict_resolution.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnDomain::ConflictResolutionProperty.new(**conflict_resolution.transform_keys(&:to_sym)) : conflict_resolution Jsii::Type.check_type(@conflict_resolution, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmbkRvbWFpbi5Db25mbGljdFJlc29sdXRpb25Qcm9wZXJ0eSJ9XX19")), "conflictResolution") unless @conflict_resolution.nil? @consolidation = consolidation.is_a?(Hash) ? ::AWSCDK::CustomerProfiles::CfnDomain::ConsolidationProperty.new(**consolidation.transform_keys(&:to_sym)) : consolidation Jsii::Type.check_type(@consolidation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jdXN0b21lcnByb2ZpbGVzLkNmbkRvbWFpbi5Db25zb2xpZGF0aW9uUHJvcGVydHkifV19fQ==")), "consolidation") unless @consolidation.nil? @min_allowed_confidence_score_for_merging = min_allowed_confidence_score_for_merging Jsii::Type.check_type(@min_allowed_confidence_score_for_merging, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "minAllowedConfidenceScoreForMerging") unless @min_allowed_confidence_score_for_merging.nil? end |
Instance Attribute Details
#conflict_resolution ⇒ AWSCDK::IResolvable, ... (readonly)
Determines how the auto-merging process should resolve conflicts between different profiles.
For example, if Profile A and Profile B have the same FirstName and LastName , ConflictResolution specifies which EmailAddress should be used.
750 751 752 |
# File 'customer_profiles/cfn_domain.rb', line 750 def conflict_resolution @conflict_resolution end |
#consolidation ⇒ AWSCDK::IResolvable, ... (readonly)
A list of matching attributes that represent matching criteria.
If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.
757 758 759 |
# File 'customer_profiles/cfn_domain.rb', line 757 def consolidation @consolidation end |
#enabled ⇒ Boolean, AWSCDK::IResolvable (readonly)
The flag that enables the auto-merging of duplicate profiles.
743 744 745 |
# File 'customer_profiles/cfn_domain.rb', line 743 def enabled @enabled end |
#min_allowed_confidence_score_for_merging ⇒ Numeric? (readonly)
A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.
A higher score means that a higher similarity is required to merge profiles.
764 765 766 |
# File 'customer_profiles/cfn_domain.rb', line 764 def min_allowed_confidence_score_for_merging @min_allowed_confidence_score_for_merging end |
Class Method Details
.jsii_properties ⇒ Object
766 767 768 769 770 771 772 773 |
# File 'customer_profiles/cfn_domain.rb', line 766 def self.jsii_properties { :enabled => "enabled", :conflict_resolution => "conflictResolution", :consolidation => "consolidation", :min_allowed_confidence_score_for_merging => "minAllowedConfidenceScoreForMerging", } end |
Instance Method Details
#to_jsii ⇒ Object
775 776 777 778 779 780 781 782 783 784 |
# File 'customer_profiles/cfn_domain.rb', line 775 def to_jsii result = {} result.merge!({ "enabled" => @enabled, "conflictResolution" => @conflict_resolution, "consolidation" => @consolidation, "minAllowedConfidenceScoreForMerging" => @min_allowed_confidence_score_for_merging, }) result.compact end |