| Modifier and Type | Method and Description |
|---|---|
CfnDomain.Builder |
appId(String appId)
The unique ID for an Amplify app.
|
CfnDomain.Builder |
autoSubDomainCreationPatterns(List<String> autoSubDomainCreationPatterns)
Sets the branch patterns for automatic subdomain creation.
|
CfnDomain.Builder |
autoSubDomainIamRole(String autoSubDomainIamRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
|
CfnDomain |
build() |
static CfnDomain.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDomain.Builder |
domainName(String domainName)
The domain name for the domain association.
|
CfnDomain.Builder |
enableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
|
CfnDomain.Builder |
enableAutoSubDomain(IResolvable enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
|
CfnDomain.Builder |
subDomainSettings(IResolvable subDomainSettings)
The setting for the subdomain.
|
CfnDomain.Builder |
subDomainSettings(List<? extends Object> subDomainSettings)
The setting for the subdomain.
|
@Stability(value=Stable) public static CfnDomain.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDomain.SubDomainSettingProperty.Builder.@Stability(value=Stable) public CfnDomain.Builder appId(String appId)
Length Constraints: Minimum length of 1. Maximum length of 20.
Pattern: d[a-z0-9]+
appId - The unique ID for an Amplify app. This parameter is required.this@Stability(value=Stable) public CfnDomain.Builder domainName(String domainName)
Length Constraints: Maximum length of 255.
Pattern: ^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9]).)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])(.)?$
domainName - The domain name for the domain association. This parameter is required.this@Stability(value=Stable) public CfnDomain.Builder subDomainSettings(IResolvable subDomainSettings)
subDomainSettings - The setting for the subdomain. This parameter is required.this@Stability(value=Stable) public CfnDomain.Builder subDomainSettings(List<? extends Object> subDomainSettings)
subDomainSettings - The setting for the subdomain. This parameter is required.this@Stability(value=Stable) public CfnDomain.Builder autoSubDomainCreationPatterns(List<String> autoSubDomainCreationPatterns)
autoSubDomainCreationPatterns - Sets the branch patterns for automatic subdomain creation. This parameter is required.this@Stability(value=Stable) public CfnDomain.Builder autoSubDomainIamRole(String autoSubDomainIamRole)
Length Constraints: Maximum length of 1000.
Pattern: ^$|^arn:aws:iam::\d{12}:role.+
autoSubDomainIamRole - The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains. This parameter is required.this@Stability(value=Stable) public CfnDomain.Builder enableAutoSubDomain(Boolean enableAutoSubDomain)
enableAutoSubDomain - Enables the automated creation of subdomains for branches. This parameter is required.this@Stability(value=Stable) public CfnDomain.Builder enableAutoSubDomain(IResolvable enableAutoSubDomain)
enableAutoSubDomain - Enables the automated creation of subdomains for branches. This parameter is required.thisCopyright © 2022. All rights reserved.