@Stability(value=Stable) public static final class CfnDomainName.Builder extends Object implements software.amazon.jsii.Builder<CfnDomainName>
CfnDomainName.| Modifier and Type | Method and Description |
|---|---|
CfnDomainName |
build() |
CfnDomainName.Builder |
certificateArn(String certificateArn)
The reference to an AWS -managed certificate for use by the edge-optimized endpoint for this domain name.
|
static CfnDomainName.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDomainName.Builder |
domainName(String domainName)
The custom domain name for your API.
|
CfnDomainName.Builder |
endpointConfiguration(CfnDomainName.EndpointConfigurationProperty endpointConfiguration)
A list of the endpoint types of the domain name.
|
CfnDomainName.Builder |
endpointConfiguration(IResolvable endpointConfiguration)
A list of the endpoint types of the domain name.
|
CfnDomainName.Builder |
mutualTlsAuthentication(CfnDomainName.MutualTlsAuthenticationProperty mutualTlsAuthentication)
The mutual TLS authentication configuration for a custom domain name.
|
CfnDomainName.Builder |
mutualTlsAuthentication(IResolvable mutualTlsAuthentication)
The mutual TLS authentication configuration for a custom domain name.
|
CfnDomainName.Builder |
ownershipVerificationCertificateArn(String ownershipVerificationCertificateArn)
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
CfnDomainName.Builder |
regionalCertificateArn(String regionalCertificateArn)
The reference to an AWS -managed certificate for use by the regional endpoint for the domain name.
|
CfnDomainName.Builder |
securityPolicy(String securityPolicy)
The Transport Layer Security (TLS) version + cipher suite for this domain name.
|
CfnDomainName.Builder |
tags(List<? extends CfnTag> tags)
An array of arbitrary tags (key-value pairs) to associate with the domain name.
|
@Stability(value=Stable) public static CfnDomainName.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.CfnDomainName.EndpointConfigurationProperty.Builder.@Stability(value=Stable) public CfnDomainName.Builder certificateArn(String certificateArn)
AWS Certificate Manager is the only supported source. For requirements and additional information about setting up certificates, see Get Certificates Ready in AWS Certificate Manager in the API Gateway Developer Guide .
certificateArn - The reference to an AWS -managed certificate for use by the edge-optimized endpoint for this domain name. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder domainName(String domainName)
Uppercase letters are not supported.
domainName - The custom domain name for your API. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder endpointConfiguration(CfnDomainName.EndpointConfigurationProperty endpointConfiguration)
endpointConfiguration - A list of the endpoint types of the domain name. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder endpointConfiguration(IResolvable endpointConfiguration)
endpointConfiguration - A list of the endpoint types of the domain name. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder mutualTlsAuthentication(CfnDomainName.MutualTlsAuthenticationProperty mutualTlsAuthentication)
mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder mutualTlsAuthentication(IResolvable mutualTlsAuthentication)
mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder ownershipVerificationCertificateArn(String ownershipVerificationCertificateArn)
Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the RegionalCertificateArn.
ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder regionalCertificateArn(String regionalCertificateArn)
AWS Certificate Manager is the only supported source.
regionalCertificateArn - The reference to an AWS -managed certificate for use by the regional endpoint for the domain name. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder securityPolicy(String securityPolicy)
Valid values include TLS_1_0 and TLS_1_2 .
securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this domain name. This parameter is required.this@Stability(value=Stable) public CfnDomainName.Builder tags(List<? extends CfnTag> tags)
tags - An array of arbitrary tags (key-value pairs) to associate with the domain name. This parameter is required.this@Stability(value=Stable) public CfnDomainName build()
build in interface software.amazon.jsii.Builder<CfnDomainName>Copyright © 2022. All rights reserved.