@aws-cdk_aws-amplify-alpha.SubDomain

interface SubDomain ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Amplify.Alpha.SubDomain
Gogithub.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#SubDomain
Javasoftware.amazon.awscdk.services.amplify.alpha.SubDomain
Pythonaws_cdk.aws_amplify_alpha.SubDomain
TypeScript (source)@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

NameTypeDescription
branch๐Ÿ”นIBranchThe branch.
prefix?๐Ÿ”นstringThe 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