interface SubDomain
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Amplify.SubDomain |
![]() | software.amazon.awscdk.services.amplify.SubDomain |
![]() | aws_cdk.aws_amplify.SubDomain |
![]() | @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