Skip to content

CustomDomainProps

Properties for defining a CustomDomain.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-customdomain

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkfc3"
&alicloudroscdkfc3.CustomDomainProps {
    AuthConfig: interface{},
    DomainName: interface{},
    Protocol: interface{},
    CertConfig: interface{},
    RouteConfig: interface{},
    TlsConfig: interface{},
    WafConfig: interface{},
}

Properties

Name Type Description
AuthConfig interface{} Property authConfig: Permission authentication configuration.
DomainName interface{} Property domainName: Domain name.
Protocol interface{} Property protocol: Protocol types supported by the domain name.
CertConfig interface{} Property certConfig: HTTPS certificate information.
RouteConfig interface{} Property routeConfig: Routing table: path to function mappingwhen a function is called with a custom domain name.
TlsConfig interface{} Property tlsConfig: TLS config.
WafConfig interface{} Property wafConfig: Web application firewall configuration information.

AuthConfigRequired

AuthConfig interface{}
  • Type: interface{}

Property authConfig: Permission authentication configuration.


DomainNameRequired

DomainName interface{}
  • Type: interface{}

Property domainName: Domain name.

Fill in the custom domain name that has been filed in Ali cloud or access to the record.


ProtocolRequired

Protocol interface{}
  • Type: interface{}

Property protocol: Protocol types supported by the domain name.

Valid values:

  • HTTP: Only HTTP protocol is supported.
  • HTTPS: HTTPS only is supported.
  • HTTP,HTTPS: Supports HTTP and HTTPS protocols.

CertConfigOptional

CertConfig interface{}
  • Type: interface{}

Property certConfig: HTTPS certificate information.


RouteConfigOptional

RouteConfig interface{}
  • Type: interface{}

Property routeConfig: Routing table: path to function mappingwhen a function is called with a custom domain name.


TlsConfigOptional

TlsConfig interface{}
  • Type: interface{}

Property tlsConfig: TLS config.


WafConfigOptional

WafConfig interface{}
  • Type: interface{}

Property wafConfig: Web application firewall configuration information.