All Products
Search
Document Center

Function Compute:CustomDomain

Last Updated:Jan 29, 2026

Parameter

Type

Description

Example

object

Custom domain information.

accountId

string

The ID of your Alibaba Cloud account.

186851234023****

apiVersion

string

The API version of Function Compute.

2023-03-30

authConfig AuthConfig

The authentication configuration.

certConfig CertConfig

The HTTPS certificate information.

createdTime

string

The time when the custom domain was created.

2023-03-30T08:02:19Z

domainName

string

The domain name.

example.com

lastModifiedTime

string

The time when the custom domain was last updated.

2023-03-30T08:02:19Z

protocol

string

The protocol type supported by the domain name. HTTP: The domain name supports only HTTP. HTTPS: The domain name supports only HTTPS. HTTP,HTTPS: The domain name supports both HTTP and HTTPS.

HTTP

routeConfig RouteConfig

The route table. It maps the paths of a custom domain to functions.

subdomainCount

string

The number of subdomains.

1

tlsConfig TLSConfig

The TLS configuration information.

wafConfig WAFConfig

The Web Application Firewall (WAF) configuration information.

corsConfig CORSConfig