@Stability(value=Stable) public static final class CfnDomainProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDomainProps>
CfnDomainProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDomainProps.Builder appId(String appId)
CfnDomainProps.getAppId()appId - The unique ID for an Amplify app. This parameter is required.
Length Constraints: Minimum length of 1. Maximum length of 20.
Pattern: d[a-z0-9]+
this@Stability(value=Stable) public CfnDomainProps.Builder domainName(String domainName)
CfnDomainProps.getDomainName()domainName - The domain name for the domain association. This parameter is required.
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])(.)?$
this@Stability(value=Stable) public CfnDomainProps.Builder subDomainSettings(IResolvable subDomainSettings)
CfnDomainProps.getSubDomainSettings()subDomainSettings - The setting for the subdomain. This parameter is required.this@Stability(value=Stable) public CfnDomainProps.Builder subDomainSettings(List<? extends Object> subDomainSettings)
CfnDomainProps.getSubDomainSettings()subDomainSettings - The setting for the subdomain. This parameter is required.this@Stability(value=Stable) public CfnDomainProps.Builder autoSubDomainCreationPatterns(List<String> autoSubDomainCreationPatterns)
CfnDomainProps.getAutoSubDomainCreationPatterns()autoSubDomainCreationPatterns - Sets the branch patterns for automatic subdomain creation.this@Stability(value=Stable) public CfnDomainProps.Builder autoSubDomainIamRole(String autoSubDomainIamRole)
CfnDomainProps.getAutoSubDomainIamRole()autoSubDomainIamRole - The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
Length Constraints: Maximum length of 1000.
Pattern: ^$|^arn:aws:iam::\d{12}:role.+
this@Stability(value=Stable) public CfnDomainProps.Builder enableAutoSubDomain(Boolean enableAutoSubDomain)
CfnDomainProps.getEnableAutoSubDomain()enableAutoSubDomain - Enables the automated creation of subdomains for branches.this@Stability(value=Stable) public CfnDomainProps.Builder enableAutoSubDomain(IResolvable enableAutoSubDomain)
CfnDomainProps.getEnableAutoSubDomain()enableAutoSubDomain - Enables the automated creation of subdomains for branches.this@Stability(value=Stable) public CfnDomainProps build()
build in interface software.amazon.jsii.Builder<CfnDomainProps>CfnDomainPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.