Class CfnDomainNamePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnDomainNamePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainNamePropsMixin>
- Enclosing class:
CfnDomainNamePropsMixin
@Stability(Stable)
public static final class CfnDomainNamePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainNamePropsMixin>
A fluent builder for
CfnDomainNamePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) domainName(String domainName) The custom domain name for your API in Amazon API Gateway.domainNameConfigurations(List<? extends Object> domainNameConfigurations) The domain name configurations.domainNameConfigurations(IResolvable domainNameConfigurations) The domain name configurations.mutualTlsAuthentication(CfnDomainNamePropsMixin.MutualTlsAuthenticationProperty mutualTlsAuthentication) The mutual TLS authentication configuration for a custom domain name.mutualTlsAuthentication(IResolvable mutualTlsAuthentication) The mutual TLS authentication configuration for a custom domain name.routingMode(String routingMode) The routing mode API Gateway uses to route traffic to your APIs.The collection of tags associated with a domain name.
-
Method Details
-
create
@Stability(Stable) public static CfnDomainNamePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDomainNamePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDomainNamePropsMixin.Builder.
-
domainName
The custom domain name for your API in Amazon API Gateway.Uppercase letters and the underscore (
_) character are not supported.- Parameters:
domainName- The custom domain name for your API in Amazon API Gateway. This parameter is required.- Returns:
this- See Also:
-
domainNameConfigurations
@Stability(Stable) public CfnDomainNamePropsMixin.Builder domainNameConfigurations(IResolvable domainNameConfigurations) The domain name configurations.- Parameters:
domainNameConfigurations- The domain name configurations. This parameter is required.- Returns:
this- See Also:
-
domainNameConfigurations
@Stability(Stable) public CfnDomainNamePropsMixin.Builder domainNameConfigurations(List<? extends Object> domainNameConfigurations) The domain name configurations.- Parameters:
domainNameConfigurations- The domain name configurations. This parameter is required.- Returns:
this- See Also:
-
mutualTlsAuthentication
@Stability(Stable) public CfnDomainNamePropsMixin.Builder mutualTlsAuthentication(IResolvable mutualTlsAuthentication) The mutual TLS authentication configuration for a custom domain name.- Parameters:
mutualTlsAuthentication- The mutual TLS authentication configuration for a custom domain name. This parameter is required.- Returns:
this- See Also:
-
mutualTlsAuthentication
@Stability(Stable) public CfnDomainNamePropsMixin.Builder mutualTlsAuthentication(CfnDomainNamePropsMixin.MutualTlsAuthenticationProperty mutualTlsAuthentication) The mutual TLS authentication configuration for a custom domain name.- Parameters:
mutualTlsAuthentication- The mutual TLS authentication configuration for a custom domain name. This parameter is required.- Returns:
this- See Also:
-
routingMode
The routing mode API Gateway uses to route traffic to your APIs.Default: - "API_MAPPING_ONLY"
- Parameters:
routingMode- The routing mode API Gateway uses to route traffic to your APIs. This parameter is required.- Returns:
this- See Also:
-
tags
The collection of tags associated with a domain name.- Parameters:
tags- The collection of tags associated with a domain name. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainNamePropsMixin>- Returns:
- a newly built instance of
CfnDomainNamePropsMixin.
-