Class CfnDomain.RuleBasedMatchingProperty
The process of matching duplicate profiles using Rule-Based matching.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CustomerProfiles
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RuleBasedMatchingProperty : Object, CfnDomain.IRuleBasedMatchingProperty
Syntax (vb)
Public Class RuleBasedMatchingProperty
Inherits Object
Implements CfnDomain.IRuleBasedMatchingProperty
Remarks
If RuleBasedMatching = true
, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the RuleBasedMatchingRequest
. You can use the ListRuleBasedMatches
and GetSimilarProfiles
API to return and review the results. Also, if you have configured ExportingConfig
in the RuleBasedMatchingRequest
, you can download the results from S3.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CustomerProfiles;
var ruleBasedMatchingProperty = new RuleBasedMatchingProperty {
Enabled = false,
// the properties below are optional
AttributeTypesSelector = new AttributeTypesSelectorProperty {
AttributeMatchingModel = "attributeMatchingModel",
// the properties below are optional
Address = new [] { "address" },
EmailAddress = new [] { "emailAddress" },
PhoneNumber = new [] { "phoneNumber" }
},
ConflictResolution = new ConflictResolutionProperty {
ConflictResolvingModel = "conflictResolvingModel",
// the properties below are optional
SourceName = "sourceName"
},
ExportingConfig = new ExportingConfigProperty {
S3Exporting = new S3ExportingConfigProperty {
S3BucketName = "s3BucketName",
// the properties below are optional
S3KeyName = "s3KeyName"
}
},
MatchingRules = new [] { new MatchingRuleProperty {
Rule = new [] { "rule" }
} },
MaxAllowedRuleLevelForMatching = 123,
MaxAllowedRuleLevelForMerging = 123,
Status = "status"
};
Synopsis
Constructors
Rule |
Properties
Attribute |
Configures information about the |
Conflict |
Determines how the auto-merging process should resolve conflicts between different profiles. |
Enabled | The flag that enables the matching process of duplicate profiles. |
Exporting |
The S3 location where Identity Resolution Jobs write result files. |
Matching |
Configures how the rule-based matching process should match profiles. |
Max |
Indicates the maximum allowed rule level for matching. |
Max |
Indicates the maximum allowed rule level for merging. |
Status | The status of rule-based matching rule. |
Constructors
RuleBasedMatchingProperty()
public RuleBasedMatchingProperty()
Properties
AttributeTypesSelector
Configures information about the AttributeTypesSelector
where the rule-based identity resolution uses to match profiles.
public object AttributeTypesSelector { get; set; }
Property Value
System.
Remarks
ConflictResolution
Determines how the auto-merging process should resolve conflicts between different profiles.
public object ConflictResolution { get; set; }
Property Value
System.
Remarks
For example, if Profile A and Profile B have the same FirstName
and LastName
, ConflictResolution
specifies which EmailAddress
should be used.
Enabled
The flag that enables the matching process of duplicate profiles.
public object Enabled { get; set; }
Property Value
System.
Remarks
ExportingConfig
The S3 location where Identity Resolution Jobs write result files.
public object ExportingConfig { get; set; }
Property Value
System.
Remarks
MatchingRules
Configures how the rule-based matching process should match profiles.
public object MatchingRules { get; set; }
Property Value
System.
Remarks
You can have up to 15 MatchingRule
in the MatchingRules
.
MaxAllowedRuleLevelForMatching
Indicates the maximum allowed rule level for matching.
public Nullable<double> MaxAllowedRuleLevelForMatching { get; set; }
Property Value
System.
Remarks
MaxAllowedRuleLevelForMerging
Indicates the maximum allowed rule level for merging.
public Nullable<double> MaxAllowedRuleLevelForMerging { get; set; }
Property Value
System.
Remarks
Status
The status of rule-based matching rule.
public string Status { get; set; }
Property Value
System.