Skip to content

/AWS1/CL_AMF=>CREATEDOMAINASSOCIATION()

About CreateDomainAssociation

Creates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app

Method Signature

IMPORTING

Required arguments:

IV_APPID TYPE /AWS1/AMFAPPID /AWS1/AMFAPPID

The unique ID for an Amplify app.

IV_DOMAINNAME TYPE /AWS1/AMFDOMAINNAME /AWS1/AMFDOMAINNAME

The domain name for the domain association.

IT_SUBDOMAINSETTINGS TYPE /AWS1/CL_AMFSUBDOMAINSETTING=>TT_SUBDOMAINSETTINGS TT_SUBDOMAINSETTINGS

The setting for the subdomain.

Optional arguments:

IV_ENABLEAUTOSUBDOMAIN TYPE /AWS1/AMFENABLEAUTOSUBDOMAIN /AWS1/AMFENABLEAUTOSUBDOMAIN

Enables the automated creation of subdomains for branches.

IT_AUTOSUBDOMAINCREATIONPATS TYPE /AWS1/CL_AMFAUTOSUBDOMCREATI00=>TT_AUTOSUBDOMAINCREATIONPATS TT_AUTOSUBDOMAINCREATIONPATS

Sets the branch patterns for automatic subdomain creation.

IV_AUTOSUBDOMAINIAMROLE TYPE /AWS1/AMFAUTOSUBDOMAINIAMROLE /AWS1/AMFAUTOSUBDOMAINIAMROLE

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

IO_CERTIFICATESETTINGS TYPE REF TO /AWS1/CL_AMFCERTSETTINGS /AWS1/CL_AMFCERTSETTINGS

The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMFCREDOMASSOCIATIO01 /AWS1/CL_AMFCREDOMASSOCIATIO01