AWS::CustomerProfiles::Domain - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.


Specifies an Amazon Connect Customer Profiles Domain.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Type" : "AWS::CustomerProfiles::Domain", "Properties" : { "DeadLetterQueueUrl" : String, "DefaultEncryptionKey" : String, "DefaultExpirationDays" : Integer, "DomainName" : String, "Tags" : [ Tag, ... ] } }


Type: AWS::CustomerProfiles::Domain Properties: DeadLetterQueueUrl: String DefaultEncryptionKey: String DefaultExpirationDays: Integer DomainName: String Tags: - Tag



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.

Required: No

Type: String

Update requires: No interruption


The default encryption key, which is an Amazon 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.

Required: No

Type: String

Update requires: No interruption


The default number of days until the data within the domain expires.

Required: No

Type: Integer

Update requires: No interruption


The unique name of the domain.

Required: Yes

Type: String

Update requires: Replacement


The tags used to organize, track, or control access for this resource.

Required: No

Type: List of Tag

Update requires: No interruption

Return values


When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the DomainName of the domain.

For more information about using the Ref function, see Ref.


The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.


The timestamp of when the domain was created.


The timestamp of when the domain was most recently edited.


The following example creates a Domain.


Type: "AWS::CustomerProfiles::Domain" Properties: DomainName: "ExampleDomain" DefaultEncryptionKey: "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE" DeadLetterQueueUrl: "arn:aws:sqs:us-east-1:123456789012:DLQName" DefaultExpirationDays: 6


"Type": "AWS::CustomerProfiles::Domain", "Properties": { "DomainName": "ExampleDomain", "DefaultEncryptionKey": "arn:aws:kms:us-east-1:123456789012:key/1988472d-6b77-4bb6-ae39-efce5EXAMPLE", "DeadLetterQueueUrl": "arn:aws:sqs:us-east-1:123456789012:DLQName", "DefaultExpirationDays": 6 }