interface SubDomain
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Amplify.SubDomain | 
|  Java | software.amazon.awscdk.services.amplify.SubDomain | 
|  Python | aws_cdk.aws_amplify.SubDomain | 
|  TypeScript (source) | @aws-cdk/aws-amplify»SubDomain | 
Sub domain settings.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as amplify from '@aws-cdk/aws-amplify';
declare const branch: amplify.Branch;
const subDomain: amplify.SubDomain = {
  branch: branch,
  // the properties below are optional
  prefix: 'prefix',
};
Properties
| Name | Type | Description | 
|---|---|---|
| branch | IBranch | The branch. | 
| prefix? | string | The prefix. | 
branch
Type:
IBranch
The branch.
prefix?
Type:
string
(optional, default: the branch name)
The prefix.
Use '' to map to the root of the domain
