interface SubDomain
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Amplify.Alpha.SubDomain |
![]() | github.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#SubDomain |
![]() | software.amazon.awscdk.services.amplify.alpha.SubDomain |
![]() | aws_cdk.aws_amplify_alpha.SubDomain |
![]() | @aws-cdk/aws-amplify-alpha » 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_alpha from '@aws-cdk/aws-amplify-alpha';
declare const branch: amplify_alpha.Branch;
const subDomain: amplify_alpha.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