Skip to content

CustomDomainProps

Properties for defining a CustomDomain.

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

Initializer

import { CustomDomainProps } from '@alicloud/ros-cdk-fc3'
const customDomainProps: CustomDomainProps = { ... }

Properties

Name Type Description
authConfig @alicloud/ros-cdk-core.IResolvable | AuthConfigProperty Property authConfig: Permission authentication configuration.
domainName string | @alicloud/ros-cdk-core.IResolvable Property domainName: Domain name.
protocol string | @alicloud/ros-cdk-core.IResolvable Property protocol: Protocol types supported by the domain name.
certConfig @alicloud/ros-cdk-core.IResolvable | CertConfigProperty Property certConfig: HTTPS certificate information.
routeConfig @alicloud/ros-cdk-core.IResolvable | RouteConfigProperty Property routeConfig: Routing table: path to function mappingwhen a function is called with a custom domain name.
tlsConfig @alicloud/ros-cdk-core.IResolvable | TlsConfigProperty Property tlsConfig: TLS config.
wafConfig @alicloud/ros-cdk-core.IResolvable | WafConfigProperty Property wafConfig: Web application firewall configuration information.

authConfigRequired

public readonly authConfig: IResolvable | AuthConfigProperty;

Property authConfig: Permission authentication configuration.


domainNameRequired

public readonly domainName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property domainName: Domain name.

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


protocolRequired

public readonly protocol: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

public readonly certConfig: IResolvable | CertConfigProperty;

Property certConfig: HTTPS certificate information.


routeConfigOptional

public readonly routeConfig: IResolvable | RouteConfigProperty;

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


tlsConfigOptional

public readonly tlsConfig: IResolvable | TlsConfigProperty;

Property tlsConfig: TLS config.


wafConfigOptional

public readonly wafConfig: IResolvable | WafConfigProperty;

Property wafConfig: Web application firewall configuration information.