CreateCustomDomainInput

Updated at:

Parameter

Type

Description

Example

object

The request information for creating a custom domain name.

authConfig AuthConfig

The authentication configuration.

certConfig CertConfig

The HTTPS certificate information.

corsConfig CORSConfig

The CORS configuration.

domainName

string

The domain name. Specify a custom domain name that has an ICP filing obtained through Alibaba Cloud or has been added to Alibaba Cloud for ICP filing.

example.com

isE2B

boolean

protocol

string

The protocol types supported by the domain name. Valid values:

  • HTTP: Only the HTTP protocol is supported.

  • HTTPS: Only the HTTPS protocol is supported.

  • HTTP,HTTPS: Both the HTTP and HTTPS protocols are supported.

HTTP

routeConfig RouteConfig

The route table that maps paths to functions when the custom domain name is accessed.

tlsConfig TLSConfig

The TLS configuration information.

wafConfig WAFConfig

The WAF configuration information.