interface CfnDomainMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Amplify.Mixins.CfnDomainMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamplify/mixins#CfnDomainMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.amplify.mixins.CfnDomainMixinProps |
Python | aws_cdk.mixins_preview.aws_amplify.mixins.CfnDomainMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_amplify » mixins » CfnDomainMixinProps |
Properties for CfnDomainPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as amplify_mixins } from '@aws-cdk/mixins-preview/aws-amplify';
const cfnDomainMixinProps: amplify_mixins.CfnDomainMixinProps = {
appId: 'appId',
autoSubDomainCreationPatterns: ['autoSubDomainCreationPatterns'],
autoSubDomainIamRole: 'autoSubDomainIamRole',
certificateSettings: {
certificateType: 'certificateType',
customCertificateArn: 'customCertificateArn',
},
domainName: 'domainName',
enableAutoSubDomain: false,
subDomainSettings: [{
branchName: 'branchName',
prefix: 'prefix',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| app | string | The unique ID for an Amplify app. |
| auto | string[] | Sets the branch patterns for automatic subdomain creation. |
| auto | string | The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains. |
| certificate | IResolvable | Certificate | The type of SSL/TLS certificate to use for your custom domain. |
| domain | string | The domain name for the domain association. |
| enable | boolean | IResolvable | Enables the automated creation of subdomains for branches. |
| sub | IResolvable | (IResolvable | Sub)[] | The setting for the subdomain. |
appId?
Type:
string
(optional)
The unique ID for an Amplify app.
autoSubDomainCreationPatterns?
Type:
string[]
(optional)
Sets the branch patterns for automatic subdomain creation.
autoSubDomainIamRole?
Type:
string
(optional)
The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
certificateSettings?
Type:
IResolvable | Certificate
(optional)
The type of SSL/TLS certificate to use for your custom domain.
If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
domainName?
Type:
string
(optional)
The domain name for the domain association.
enableAutoSubDomain?
Type:
boolean | IResolvable
(optional)
Enables the automated creation of subdomains for branches.
subDomainSettings?
Type:
IResolvable | (IResolvable | Sub)[]
(optional)
The setting for the subdomain.

.NET
Go
Java
Python
TypeScript