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: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
Update requires: No interruption
Prefix-
The prefix setting for the subdomain.
Length Constraints: Maximum length of 255.
Pattern: (?s).*
Required: Yes
Type: String
Update requires: No interruption