Class CfnDomainPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplify.CfnDomainPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin>
- Enclosing class:
CfnDomainPropsMixin
@Stability(Stable)
public static final class CfnDomainPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin>
A fluent builder for
CfnDomainPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for an Amplify app.autoSubDomainCreationPatterns(List<String> autoSubDomainCreationPatterns) Sets the branch patterns for automatic subdomain creation.autoSubDomainIamRole(String autoSubDomainIamRole) The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.autoSubDomainIamRole(IRoleRef autoSubDomainIamRole) The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.build()certificateSettings(CfnDomainPropsMixin.CertificateSettingsProperty certificateSettings) The type of SSL/TLS certificate to use for your custom domain.certificateSettings(IResolvable certificateSettings) The type of SSL/TLS certificate to use for your custom domain.static CfnDomainPropsMixin.Buildercreate()static CfnDomainPropsMixin.Buildercreate(CfnPropertyMixinOptions options) domainName(String domainName) The domain name for the domain association.enableAutoSubDomain(Boolean enableAutoSubDomain) Enables the automated creation of subdomains for branches.enableAutoSubDomain(IResolvable enableAutoSubDomain) Enables the automated creation of subdomains for branches.subDomainSettings(List<? extends Object> subDomainSettings) The setting for the subdomain.subDomainSettings(IResolvable subDomainSettings) The setting for the subdomain.
-
Method Details
-
create
@Stability(Stable) public static CfnDomainPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDomainPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDomainPropsMixin.Builder.
-
appId
The unique ID for an Amplify app.- Parameters:
appId- The unique ID for an Amplify app. This parameter is required.- Returns:
this- See Also:
-
autoSubDomainCreationPatterns
@Stability(Stable) public CfnDomainPropsMixin.Builder autoSubDomainCreationPatterns(List<String> autoSubDomainCreationPatterns) Sets the branch patterns for automatic subdomain creation.- Parameters:
autoSubDomainCreationPatterns- Sets the branch patterns for automatic subdomain creation. This parameter is required.- Returns:
this- See Also:
-
autoSubDomainIamRole
@Stability(Stable) public CfnDomainPropsMixin.Builder autoSubDomainIamRole(String autoSubDomainIamRole) The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.- Parameters:
autoSubDomainIamRole- The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains. This parameter is required.- Returns:
this- See Also:
-
autoSubDomainIamRole
@Stability(Stable) public CfnDomainPropsMixin.Builder autoSubDomainIamRole(IRoleRef autoSubDomainIamRole) The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.- Parameters:
autoSubDomainIamRole- The required AWS Identity and Access Management (IAMlong) service role for the Amazon Resource Name (ARN) for automatically creating subdomains. This parameter is required.- Returns:
this- See Also:
-
certificateSettings
@Stability(Stable) public CfnDomainPropsMixin.Builder certificateSettings(IResolvable certificateSettings) 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.
- Parameters:
certificateSettings- The type of SSL/TLS certificate to use for your custom domain. This parameter is required.- Returns:
this- See Also:
-
certificateSettings
@Stability(Stable) public CfnDomainPropsMixin.Builder certificateSettings(CfnDomainPropsMixin.CertificateSettingsProperty certificateSettings) 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.
- Parameters:
certificateSettings- The type of SSL/TLS certificate to use for your custom domain. This parameter is required.- Returns:
this- See Also:
-
domainName
The domain name for the domain association.- Parameters:
domainName- The domain name for the domain association. This parameter is required.- Returns:
this- See Also:
-
enableAutoSubDomain
@Stability(Stable) public CfnDomainPropsMixin.Builder enableAutoSubDomain(Boolean enableAutoSubDomain) Enables the automated creation of subdomains for branches.- Parameters:
enableAutoSubDomain- Enables the automated creation of subdomains for branches. This parameter is required.- Returns:
this- See Also:
-
enableAutoSubDomain
@Stability(Stable) public CfnDomainPropsMixin.Builder enableAutoSubDomain(IResolvable enableAutoSubDomain) Enables the automated creation of subdomains for branches.- Parameters:
enableAutoSubDomain- Enables the automated creation of subdomains for branches. This parameter is required.- Returns:
this- See Also:
-
subDomainSettings
@Stability(Stable) public CfnDomainPropsMixin.Builder subDomainSettings(IResolvable subDomainSettings) The setting for the subdomain.- Parameters:
subDomainSettings- The setting for the subdomain. This parameter is required.- Returns:
this- See Also:
-
subDomainSettings
@Stability(Stable) public CfnDomainPropsMixin.Builder subDomainSettings(List<? extends Object> subDomainSettings) The setting for the subdomain.- Parameters:
subDomainSettings- The setting for the subdomain. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin>- Returns:
- a newly built instance of
CfnDomainPropsMixin.
-