AWS CloudFormation
User Guide (Version )

AWS::Amplify::Domain

The AWS::Amplify::Domain resource allows you to connect a custom domain to your app.

Syntax

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

JSON

{ "Type" : "AWS::Amplify::Domain", "Properties" : { "AppId" : String, "DomainName" : String, "SubDomainSettings" : [ SubDomainSetting, ... ] } }

YAML

Type: AWS::Amplify::Domain Properties: AppId: String DomainName: String SubDomainSettings: - SubDomainSetting

Properties

AppId

Unique Id for an Amplify App.

Required: Yes

Type: String

Update requires: Replacement

DomainName

Domain name for the Domain Association.

Required: Yes

Type: String

Update requires: Replacement

SubDomainSettings

Setting structure for the Subdomain.

Required: Yes

Type: List of SubDomainSetting

Update requires: No interruption

Return Values

Fn::GetAtt

Arn

ARN for the Domain Association.

CertificateRecord

DNS Record for certificate verification.

DomainName

Name of the domain.

DomainStatus

Status fo the Domain Association.

StatusReason

Reason for the current status of the domain.