AWS::Amplify::Domain SubDomainSetting - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Amplify::Domain SubDomainSetting

The SubDomainSetting property type enables you to connect a subdomain (for example, example.exampledomain.com) to a specific branch.

Syntax

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

JSON

{ "BranchName" : String, "Prefix" : String }

YAML

BranchName: String Prefix: String

Properties

BranchName

The branch name setting for the subdomain.

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: (?s).+

Required: Yes

Type: String

Pattern: (?s).+

Minimum: 1

Maximum: 255

Update requires: No interruption

Prefix

The prefix setting for the subdomain.

Required: Yes

Type: String

Pattern: (?s).*

Maximum: 255

Update requires: No interruption