Skip to content

CustomDomainProps

Properties for defining a CustomDomain.

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

Initializer

import ros_cdk_fc
ros_cdk_fc.CustomDomainProps(
  domain_name: typing.Union[str, IResolvable],
  protocol: typing.Union[str, IResolvable],
  api_version: typing.Union[str, IResolvable] = None,
  cert_config: typing.Union[IResolvable, CertConfigProperty] = None,
  route_config: typing.Union[IResolvable, RouteConfigProperty] = None
)

Properties

Name Type Description
domain_name typing.Union[str, ros_cdk_core.IResolvable] Property domainName: domain name.
protocol typing.Union[str, ros_cdk_core.IResolvable] Property protocol: HTTP or HTTP,HTTPS.
api_version typing.Union[str, ros_cdk_core.IResolvable] Property apiVersion: api version.
cert_config typing.Union[ros_cdk_core.IResolvable, CertConfigProperty] Property certConfig: certificate info.
route_config typing.Union[ros_cdk_core.IResolvable, RouteConfigProperty] Property routeConfig: Routing table: path to function mappingwhen a function is called with a custom domain name.

domain_nameRequired

domain_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property domainName: domain name.


protocolRequired

protocol: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property protocol: HTTP or HTTP,HTTPS.


api_versionOptional

api_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property apiVersion: api version.


cert_configOptional

cert_config: typing.Union[IResolvable, CertConfigProperty]

Property certConfig: certificate info.


route_configOptional

route_config: typing.Union[IResolvable, RouteConfigProperty]

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