This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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 AWS CloudFormation template, use the following syntax:
JSON
{ "BranchName" :String, "Prefix" :String}
YAML
BranchName:StringPrefix: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:
1Maximum:
255Update requires: No interruption
Prefix-
The prefix setting for the subdomain.
Required: Yes
Type: String
Pattern:
(?s).*Maximum:
255Update requires: No interruption