Skip to content
v2.278.0

MatchingProperty Struct ​

The process of matching duplicate profiles.

If Matching = true , Connect Customer Customer Profiles starts a weekly batch process called Identity Resolution Job . If you do not specify a date and time for the Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest , you can download the results from S3.

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 matchingProperty: customerprofiles.CfnDomain.MatchingProperty = {
  enabled: false,

  // the properties below are optional
  autoMerging: {
    enabled: false,

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

      // the properties below are optional
      sourceName: 'sourceName',
    },
    consolidation: {
      matchingAttributesList: [['matchingAttributesList']],
    },
    minAllowedConfidenceScoreForMerging: 123,
  },
  exportingConfig: {
    s3Exporting: {
      s3BucketName: 's3BucketName',

      // the properties below are optional
      s3KeyName: 's3KeyName',
    },
  },
  jobSchedule: {
    dayOfTheWeek: 'dayOfTheWeek',
    time: 'time',
  },
};
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

matching_property = customerprofiles.CfnDomain.MatchingProperty(
    enabled=False,

    # the properties below are optional
    auto_merging=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
    ),
    exporting_config=customerprofiles.CfnDomain.ExportingConfigProperty(
        s3_exporting=customerprofiles.CfnDomain.S3ExportingConfigProperty(
            s3_bucket_name="s3BucketName",

            # the properties below are optional
            s3_key_name="s3KeyName"
        )
    ),
    job_schedule=customerprofiles.CfnDomain.JobScheduleProperty(
        day_of_the_week="dayOfTheWeek",
        time="time"
    )
)
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.*;

MatchingProperty matchingProperty = MatchingProperty.builder()
        .enabled(false)

        // the properties below are optional
        .autoMerging(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())
        .exportingConfig(ExportingConfigProperty.builder()
                .s3Exporting(S3ExportingConfigProperty.builder()
                        .s3BucketName("s3BucketName")

                        // the properties below are optional
                        .s3KeyName("s3KeyName")
                        .build())
                .build())
        .jobSchedule(JobScheduleProperty.builder()
                .dayOfTheWeek("dayOfTheWeek")
                .time("time")
                .build())
        .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 matchingProperty = new MatchingProperty {
    Enabled = false,

    // the properties below are optional
    AutoMerging = 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
    },
    ExportingConfig = new ExportingConfigProperty {
        S3Exporting = new S3ExportingConfigProperty {
            S3BucketName = "s3BucketName",

            // the properties below are optional
            S3KeyName = "s3KeyName"
        }
    },
    JobSchedule = new JobScheduleProperty {
        DayOfTheWeek = "dayOfTheWeek",
        Time = "time"
    }
};
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"

matchingProperty := &MatchingProperty{
	Enabled: jsii.Boolean(false),

	// the properties below are optional
	AutoMerging: &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),
	},
	ExportingConfig: &ExportingConfigProperty{
		S3Exporting: &S3ExportingConfigProperty{
			S3BucketName: jsii.String("s3BucketName"),

			// the properties below are optional
			S3KeyName: jsii.String("s3KeyName"),
		},
	},
	JobSchedule: &JobScheduleProperty{
		DayOfTheWeek: jsii.String("dayOfTheWeek"),
		Time: jsii.String("time"),
	},
}

Properties ​

autoMergingoptionalIResolvable | CfnDomain.AutoMergingPropertyauto_mergingoptionaltyping.Union[IResolvable, AutoMergingProperty]autoMergingoptionalIResolvableAutoMergingoptionalIResolvableAutoMergingoptionalinterface{} #
Configuration information about the auto-merging process.
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{} required #
The flag that enables the matching process of duplicate profiles.
exportingConfigoptionalIResolvable | CfnDomain.ExportingConfigPropertyexporting_configoptionaltyping.Union[IResolvable, ExportingConfigProperty]exportingConfigoptionalIResolvableExportingConfigoptionalIResolvableExportingConfigoptionalinterface{} #
The S3 location where Identity Resolution Jobs write result files.
jobScheduleoptionalIResolvable | CfnDomain.JobSchedulePropertyjob_scheduleoptionaltyping.Union[IResolvable, JobScheduleProperty]jobScheduleoptionalIResolvableJobScheduleoptionalIResolvableJobScheduleoptionalinterface{} #
The day and time when do you want to start the Identity Resolution Job every week.