Skip to content

CustomDomainProps

Properties for defining a CustomDomain.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkfc"
&alicloudroscdkfc.CustomDomainProps {
    DomainName: interface{},
    Protocol: interface{},
    ApiVersion: interface{},
    CertConfig: interface{},
    RouteConfig: interface{},
}

Properties

Name Type Description
DomainName interface{} Property domainName: domain name.
Protocol interface{} Property protocol: HTTP or HTTP,HTTPS.
ApiVersion interface{} Property apiVersion: api version.
CertConfig interface{} Property certConfig: certificate info.
RouteConfig interface{} Property routeConfig: Routing table: path to function mappingwhen a function is called with a custom domain name.

DomainNameRequired

DomainName interface{}
  • Type: interface{}

Property domainName: domain name.


ProtocolRequired

Protocol interface{}
  • Type: interface{}

Property protocol: HTTP or HTTP,HTTPS.


ApiVersionOptional

ApiVersion interface{}
  • Type: interface{}

Property apiVersion: api version.


CertConfigOptional

CertConfig interface{}
  • Type: interface{}

Property certConfig: certificate info.


RouteConfigOptional

RouteConfig interface{}
  • Type: interface{}

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