interface SubDomainSettingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Amplify.CfnDomain.SubDomainSettingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsamplify#CfnDomain_SubDomainSettingProperty |
![]() | software.amazon.awscdk.services.amplify.CfnDomain.SubDomainSettingProperty |
![]() | aws_cdk.aws_amplify.CfnDomain.SubDomainSettingProperty |
![]() | aws-cdk-lib » aws_amplify » CfnDomain » SubDomainSettingProperty |
The SubDomainSetting property type enables you to connect a subdomain (for example, example.exampledomain.com) to a specific branch.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplify as amplify } from 'aws-cdk-lib';
const subDomainSettingProperty: amplify.CfnDomain.SubDomainSettingProperty = {
branchName: 'branchName',
prefix: 'prefix',
};
Properties
Name | Type | Description |
---|---|---|
branch | string | The branch name setting for the subdomain. |
prefix | string | The prefix setting for the subdomain. |
branchName
Type:
string
The branch name setting for the subdomain.
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern: (?s).+
prefix
Type:
string
The prefix setting for the subdomain.