Skip to content
v2.278.0

CfnDomainProps Struct ​

Properties for defining a CfnDomain.

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 cfnDomainProps: customerprofiles.CfnDomainProps = {
  defaultExpirationDays: 123,
  domainName: 'domainName',

  // the properties below are optional
  dataStore: {
    enabled: false,
    readiness: {
      message: 'message',
      progressPercentage: 123,
    },
  },
  deadLetterQueueUrl: 'deadLetterQueueUrl',
  defaultEncryptionKey: 'defaultEncryptionKey',
  matching: {
    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',
    },
  },
  ruleBasedMatching: {
    enabled: false,

    // the properties below are optional
    attributeTypesSelector: {
      attributeMatchingModel: 'attributeMatchingModel',

      // the properties below are optional
      address: ['address'],
      emailAddress: ['emailAddress'],
      phoneNumber: ['phoneNumber'],
    },
    conflictResolution: {
      conflictResolvingModel: 'conflictResolvingModel',

      // the properties below are optional
      sourceName: 'sourceName',
    },
    exportingConfig: {
      s3Exporting: {
        s3BucketName: 's3BucketName',

        // the properties below are optional
        s3KeyName: 's3KeyName',
      },
    },
    matchingRules: [{
      rule: ['rule'],
    }],
    maxAllowedRuleLevelForMatching: 123,
    maxAllowedRuleLevelForMerging: 123,
    status: 'status',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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

cfn_domain_props = customerprofiles.CfnDomainProps(
    default_expiration_days=123,
    domain_name="domainName",

    # the properties below are optional
    data_store=customerprofiles.CfnDomain.DataStoreProperty(
        enabled=False,
        readiness=customerprofiles.CfnDomain.ReadinessProperty(
            message="message",
            progress_percentage=123
        )
    ),
    dead_letter_queue_url="deadLetterQueueUrl",
    default_encryption_key="defaultEncryptionKey",
    matching=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"
        )
    ),
    rule_based_matching=customerprofiles.CfnDomain.RuleBasedMatchingProperty(
        enabled=False,

        # the properties below are optional
        attribute_types_selector=customerprofiles.CfnDomain.AttributeTypesSelectorProperty(
            attribute_matching_model="attributeMatchingModel",

            # the properties below are optional
            address=["address"],
            email_address=["emailAddress"],
            phone_number=["phoneNumber"]
        ),
        conflict_resolution=customerprofiles.CfnDomain.ConflictResolutionProperty(
            conflict_resolving_model="conflictResolvingModel",

            # the properties below are optional
            source_name="sourceName"
        ),
        exporting_config=customerprofiles.CfnDomain.ExportingConfigProperty(
            s3_exporting=customerprofiles.CfnDomain.S3ExportingConfigProperty(
                s3_bucket_name="s3BucketName",

                # the properties below are optional
                s3_key_name="s3KeyName"
            )
        ),
        matching_rules=[customerprofiles.CfnDomain.MatchingRuleProperty(
            rule=["rule"]
        )],
        max_allowed_rule_level_for_matching=123,
        max_allowed_rule_level_for_merging=123,
        status="status"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnDomainProps cfnDomainProps = CfnDomainProps.builder()
        .defaultExpirationDays(123)
        .domainName("domainName")

        // the properties below are optional
        .dataStore(DataStoreProperty.builder()
                .enabled(false)
                .readiness(ReadinessProperty.builder()
                        .message("message")
                        .progressPercentage(123)
                        .build())
                .build())
        .deadLetterQueueUrl("deadLetterQueueUrl")
        .defaultEncryptionKey("defaultEncryptionKey")
        .matching(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())
        .ruleBasedMatching(RuleBasedMatchingProperty.builder()
                .enabled(false)

                // the properties below are optional
                .attributeTypesSelector(AttributeTypesSelectorProperty.builder()
                        .attributeMatchingModel("attributeMatchingModel")

                        // the properties below are optional
                        .address(List.of("address"))
                        .emailAddress(List.of("emailAddress"))
                        .phoneNumber(List.of("phoneNumber"))
                        .build())
                .conflictResolution(ConflictResolutionProperty.builder()
                        .conflictResolvingModel("conflictResolvingModel")

                        // the properties below are optional
                        .sourceName("sourceName")
                        .build())
                .exportingConfig(ExportingConfigProperty.builder()
                        .s3Exporting(S3ExportingConfigProperty.builder()
                                .s3BucketName("s3BucketName")

                                // the properties below are optional
                                .s3KeyName("s3KeyName")
                                .build())
                        .build())
                .matchingRules(List.of(MatchingRuleProperty.builder()
                        .rule(List.of("rule"))
                        .build()))
                .maxAllowedRuleLevelForMatching(123)
                .maxAllowedRuleLevelForMerging(123)
                .status("status")
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .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 cfnDomainProps = new CfnDomainProps {
    DefaultExpirationDays = 123,
    DomainName = "domainName",

    // the properties below are optional
    DataStore = new DataStoreProperty {
        Enabled = false,
        Readiness = new ReadinessProperty {
            Message = "message",
            ProgressPercentage = 123
        }
    },
    DeadLetterQueueUrl = "deadLetterQueueUrl",
    DefaultEncryptionKey = "defaultEncryptionKey",
    Matching = 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"
        }
    },
    RuleBasedMatching = 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"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnDomainProps := &CfnDomainProps{
	DefaultExpirationDays: jsii.Number(123),
	DomainName: jsii.String("domainName"),

	// the properties below are optional
	DataStore: &DataStoreProperty{
		Enabled: jsii.Boolean(false),
		Readiness: &ReadinessProperty{
			Message: jsii.String("message"),
			ProgressPercentage: jsii.Number(123),
		},
	},
	DeadLetterQueueUrl: jsii.String("deadLetterQueueUrl"),
	DefaultEncryptionKey: jsii.String("defaultEncryptionKey"),
	Matching: &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"),
		},
	},
	RuleBasedMatching: &RuleBasedMatchingProperty{
		Enabled: jsii.Boolean(false),

		// the properties below are optional
		AttributeTypesSelector: &AttributeTypesSelectorProperty{
			AttributeMatchingModel: jsii.String("attributeMatchingModel"),

			// the properties below are optional
			Address: []*string{
				jsii.String("address"),
			},
			EmailAddress: []*string{
				jsii.String("emailAddress"),
			},
			PhoneNumber: []*string{
				jsii.String("phoneNumber"),
			},
		},
		ConflictResolution: &ConflictResolutionProperty{
			ConflictResolvingModel: jsii.String("conflictResolvingModel"),

			// the properties below are optional
			SourceName: jsii.String("sourceName"),
		},
		ExportingConfig: &ExportingConfigProperty{
			S3Exporting: &S3ExportingConfigProperty{
				S3BucketName: jsii.String("s3BucketName"),

				// the properties below are optional
				S3KeyName: jsii.String("s3KeyName"),
			},
		},
		MatchingRules: []interface{}{
			&MatchingRuleProperty{
				Rule: []*string{
					jsii.String("rule"),
				},
			},
		},
		MaxAllowedRuleLevelForMatching: jsii.Number(123),
		MaxAllowedRuleLevelForMerging: jsii.Number(123),
		Status: jsii.String("status"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

dataStoreoptionalIResolvable | CfnDomain.DataStorePropertydata_storeoptionaltyping.Union[IResolvable, DataStoreProperty]dataStoreoptionalIResolvableDataStoreoptionalIResolvableDataStoreoptionalinterface{} #
Configuration and status of the data store for the domain.
deadLetterQueueUrloptionalstringdead_letter_queue_urloptionalstrdeadLetterQueueUrloptionalStringDeadLetterQueueUrloptionalstringDeadLetterQueueUrloptional*string #
The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.

You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue .

defaultEncryptionKeyoptionalstringdefault_encryption_keyoptionalstrdefaultEncryptionKeyoptionalStringDefaultEncryptionKeyoptionalstringDefaultEncryptionKeyoptional*string #
The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified.

It is used to encrypt all data before it is placed in permanent or semi-permanent storage.

defaultExpirationDaysnumberdefault_expiration_daysint | floatdefaultExpirationDaysNumberDefaultExpirationDaysdoubleDefaultExpirationDays*float64 required #
The default number of days until the data within the domain expires.
domainNamestringdomain_namestrdomainNameStringDomainNamestringDomainName*string required #
The unique name of the domain.
matchingoptionalIResolvable | CfnDomain.MatchingPropertymatchingoptionaltyping.Union[IResolvable, MatchingProperty]matchingoptionalIResolvableMatchingoptionalIResolvableMatchingoptionalinterface{} #
The process of matching duplicate profiles.
ruleBasedMatchingoptionalIResolvable | CfnDomain.RuleBasedMatchingPropertyrule_based_matchingoptionaltyping.Union[IResolvable, RuleBasedMatchingProperty]ruleBasedMatchingoptionalIResolvableRuleBasedMatchingoptionalIResolvableRuleBasedMatchingoptionalinterface{} #
The process of matching duplicate profiles using Rule-Based matching.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags used to organize, track, or control access for this resource.