CustomDomainProps
Properties for defining a CustomDomain.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-customdomain
Initializer
import { CustomDomainProps } from '@alicloud/ros-cdk-fc'
const customDomainProps: CustomDomainProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
domainName |
string | @alicloud/ros-cdk-core.IResolvable |
Property domainName: domain name. |
protocol |
string | @alicloud/ros-cdk-core.IResolvable |
Property protocol: HTTP or HTTP,HTTPS. |
apiVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property apiVersion: api version. |
certConfig |
@alicloud/ros-cdk-core.IResolvable | CertConfigProperty |
Property certConfig: certificate info. |
routeConfig |
@alicloud/ros-cdk-core.IResolvable | RouteConfigProperty |
Property routeConfig: Routing table: path to function mappingwhen a function is called with a custom domain name. |
domainNameRequired
public readonly domainName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property domainName: domain name.
protocolRequired
public readonly protocol: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property protocol: HTTP or HTTP,HTTPS.
apiVersionOptional
public readonly apiVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property apiVersion: api version.
certConfigOptional
public readonly certConfig: IResolvable | CertConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | CertConfigProperty
Property certConfig: certificate info.
routeConfigOptional
public readonly routeConfig: IResolvable | RouteConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | RouteConfigProperty
Property routeConfig: Routing table: path to function mappingwhen a function is called with a custom domain name.