aws amplify create-domain-association

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

Options

NameDescription
--app-id <string>The unique ID for an Amplify app
--domain-name <string>The domain name for the domain association
--enable-auto-sub-domainEnables the automated creation of subdomains for branches
--no-enable-auto-sub-domainEnables the automated creation of subdomains for branches
--sub-domain-settings <list...>The setting for the subdomain
--auto-sub-domain-creation-patterns <list...>Sets the branch patterns for automatic subdomain creation
--auto-sub-domain-iam-role <string>The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command