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. |
domainName
Required
public readonly domainName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property domainName: domain name.
protocol
Required
public readonly protocol: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property protocol: HTTP or HTTP,HTTPS.
apiVersion
Optional
public readonly apiVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property apiVersion: api version.
certConfig
Optional
public readonly certConfig: IResolvable | CertConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | CertConfigProperty
Property certConfig: certificate info.
routeConfig
Optional
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.