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