Skip to content
v2.278.0

AutoMergingProperty Struct ​

Configuration information about the auto-merging process.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const autoMergingProperty: customerprofiles.CfnDomain.AutoMergingProperty = {
  enabled: false,

  // the properties below are optional
  conflictResolution: {
    conflictResolvingModel: 'conflictResolvingModel',

    // the properties below are optional
    sourceName: 'sourceName',
  },
  consolidation: {
    matchingAttributesList: [['matchingAttributesList']],
  },
  minAllowedConfidenceScoreForMerging: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_customerprofiles as customerprofiles

auto_merging_property = customerprofiles.CfnDomain.AutoMergingProperty(
    enabled=False,

    # the properties below are optional
    conflict_resolution=customerprofiles.CfnDomain.ConflictResolutionProperty(
        conflict_resolving_model="conflictResolvingModel",

        # the properties below are optional
        source_name="sourceName"
    ),
    consolidation=customerprofiles.CfnDomain.ConsolidationProperty(
        matching_attributes_list=[["matchingAttributesList"]]
    ),
    min_allowed_confidence_score_for_merging=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.customerprofiles.*;

AutoMergingProperty autoMergingProperty = AutoMergingProperty.builder()
        .enabled(false)

        // the properties below are optional
        .conflictResolution(ConflictResolutionProperty.builder()
                .conflictResolvingModel("conflictResolvingModel")

                // the properties below are optional
                .sourceName("sourceName")
                .build())
        .consolidation(ConsolidationProperty.builder()
                .matchingAttributesList(List.of(List.of("matchingAttributesList")))
                .build())
        .minAllowedConfidenceScoreForMerging(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 autoMergingProperty = new AutoMergingProperty {
    Enabled = false,

    // the properties below are optional
    ConflictResolution = new ConflictResolutionProperty {
        ConflictResolvingModel = "conflictResolvingModel",

        // the properties below are optional
        SourceName = "sourceName"
    },
    Consolidation = new ConsolidationProperty {
        MatchingAttributesList = new [] { new [] { "matchingAttributesList" } }
    },
    MinAllowedConfidenceScoreForMerging = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

autoMergingProperty := &AutoMergingProperty{
	Enabled: jsii.Boolean(false),

	// the properties below are optional
	ConflictResolution: &ConflictResolutionProperty{
		ConflictResolvingModel: jsii.String("conflictResolvingModel"),

		// the properties below are optional
		SourceName: jsii.String("sourceName"),
	},
	Consolidation: &ConsolidationProperty{
		MatchingAttributesList: []interface{}{
			[]*string{
				jsii.String("matchingAttributesList"),
			},
		},
	},
	MinAllowedConfidenceScoreForMerging: jsii.Number(123),
}

Properties ​

conflictResolutionoptionalIResolvable | CfnDomain.ConflictResolutionPropertyconflict_resolutionoptionaltyping.Union[IResolvable, ConflictResolutionProperty]conflictResolutionoptionalIResolvableConflictResolutionoptionalIResolvableConflictResolutionoptionalinterface{} #
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.

consolidationoptionalIResolvable | CfnDomain.ConsolidationPropertyconsolidationoptionaltyping.Union[IResolvable, ConsolidationProperty]consolidationoptionalIResolvableConsolidationoptionalIResolvableConsolidationoptionalinterface{} #
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.

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{} required #
The flag that enables the auto-merging of duplicate profiles.
minAllowedConfidenceScoreForMergingoptionalnumbermin_allowed_confidence_score_for_mergingoptionalint | floatminAllowedConfidenceScoreForMergingoptionalNumberMinAllowedConfidenceScoreForMergingoptionaldoubleMinAllowedConfidenceScoreForMergingoptional*float64 #
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.