interface SubDomainSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Amplify.CfnDomainPropsMixin.SubDomainSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsamplify#CfnDomainPropsMixin_SubDomainSettingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.amplify.CfnDomainPropsMixin.SubDomainSettingProperty |
Python | aws_cdk.cfn_property_mixins.aws_amplify.CfnDomainPropsMixin.SubDomainSettingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_amplify » CfnDomainPropsMixin » 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/cfn-property-mixins';
const subDomainSettingProperty: amplify.CfnDomainPropsMixin.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
(optional)
The branch name setting for the subdomain.
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern: (?s).+
prefix?
Type:
string
(optional)
The prefix setting for the subdomain.

.NET
Go
Java
Python
TypeScript