AWS::CustomerProfiles::Domain - AWS CloudFormation

AWS::CustomerProfiles::Domain

The AWS::CustomerProfiles::Domain resource specifies an Amazon Connect Customer Profiles Domain.

Syntax

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

JSON

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

YAML

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

Properties

DeadLetterQueueUrl

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

DefaultEncryptionKey

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.

Required: No

Type: String

Update requires: No interruption

DefaultExpirationDays

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

Required: No

Type: Integer

Update requires: No interruption

DomainName

The unique name of the domain.

Required: Yes

Type: String

Update requires: Replacement

Tags

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

Required: No

Type: List of Tag

Update requires: No interruption

Return values

Ref

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.

Fn::GetAtt

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.

CreatedAt

The timestamp of when the domain was created.

LastUpdatedAt

The timestamp of when the domain was most recently edited.

Examples

The following example creates a Domain.

YAML

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

JSON

{ "Resources": { "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 } } } }