# AutoMergingProperty

Configuration information about the auto-merging process.

- Source: Generated at build time
- Type last changed: v2.103.0 · 26 Oct 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `conflictResolution`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.ConflictResolutionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnDomain.ConflictResolutionProperty.html) — 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.

- `consolidation`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomain.ConsolidationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnDomain.ConsolidationProperty.html) — 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.

- `enabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — The flag that enables the auto-merging of duplicate profiles.

- `minAllowedConfidenceScoreForMerging`: number — 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.
