v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1437207152.4 KB

Creates a new domain association for an Amplify app.

post/apps/{appId}/domains/{domainName}

Path parameters

appIdstring required

The unique ID for an Amplify app.

domainNamestring required

The name of the domain.

Request body

enableAutoSubDomainboolean

Enables the automated creation of subdomains for branches.

autoSubDomainCreationPatternsAutoSubDomainCreationPattern[]

Sets the branch patterns for automatic subdomain creation.

autoSubDomainIAMRolestring

The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.

Response

Success