All Products
Search
Document Center

Function Compute:CustomDomain

Last Updated:Jun 03, 2026

Parameter

Type

Description

Example

object

Custom domain information.

accountId

string

The ID of the Alibaba Cloud account (primary account).

186851234023****

apiVersion

string

The API version of Function Compute.

2023-03-30

authConfig AuthConfig

The authentication configuration.

certConfig CertConfig

The HTTPS certificate configuration.

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 modified.

2023-03-30T08:02:19Z

protocol

string

The protocols that are supported by the domain name. Valid values: HTTP (HTTP only), HTTPS (HTTPS only), and HTTP,HTTPS (both HTTP and HTTPS).

HTTP

routeConfig RouteConfig

The route table that maps paths to functions.

subdomainCount

string

The number of subdomains.

1

tlsConfig TLSConfig

The TLS configuration.

wafConfig WAFConfig

The Web Application Firewall (WAF) aconfiguration.

corsConfig CORSConfig

The cross-origin resource sharing (CORS) configuration.

isE2B

boolean