Class CfnDomainName.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnDomainName.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainName>
- Enclosing class:
CfnDomainName
@Stability(Stable)
public static final class CfnDomainName.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainName>
A fluent builder for
CfnDomainName
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDomainName.Builder
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
(IResolvable mutualTlsAuthentication) The mutual TLS authentication configuration for a custom domain name.mutualTlsAuthentication
(CfnDomainName.MutualTlsAuthenticationProperty mutualTlsAuthentication) The mutual TLS authentication configuration for a custom domain name.The collection of tags associated with a domain name.
-
Method Details
-
create
@Stability(Stable) public static CfnDomainName.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDomainName.Builder
.
-
domainName
The custom domain name for your API in Amazon API Gateway.Uppercase letters 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 CfnDomainName.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 CfnDomainName.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 CfnDomainName.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 CfnDomainName.Builder mutualTlsAuthentication(CfnDomainName.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:
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomainName>
- Returns:
- a newly built instance of
CfnDomainName
.
-