Skip to content

CustomDomainProps

Properties for defining a CustomDomain.

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

Initializer

import ros_cdk_fc3
ros_cdk_fc3.CustomDomainProps(
  auth_config: typing.Union[IResolvable, AuthConfigProperty],
  domain_name: typing.Union[str, IResolvable],
  protocol: typing.Union[str, IResolvable],
  cert_config: typing.Union[IResolvable, CertConfigProperty] = None,
  route_config: typing.Union[IResolvable, RouteConfigProperty] = None,
  tls_config: typing.Union[IResolvable, TlsConfigProperty] = None,
  waf_config: typing.Union[IResolvable, WafConfigProperty] = None
)

Properties

Name Type Description
auth_config typing.Union[ros_cdk_core.IResolvable, AuthConfigProperty] Property authConfig: Permission authentication configuration.
domain_name typing.Union[str, ros_cdk_core.IResolvable] Property domainName: Domain name.
protocol typing.Union[str, ros_cdk_core.IResolvable] Property protocol: Protocol types supported by the domain name.
cert_config typing.Union[ros_cdk_core.IResolvable, CertConfigProperty] Property certConfig: HTTPS certificate information.
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.
tls_config typing.Union[ros_cdk_core.IResolvable, TlsConfigProperty] Property tlsConfig: TLS config.
waf_config typing.Union[ros_cdk_core.IResolvable, WafConfigProperty] Property wafConfig: Web application firewall configuration information.

auth_configRequired

auth_config: typing.Union[IResolvable, AuthConfigProperty]

Property authConfig: Permission authentication configuration.


domain_nameRequired

domain_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

protocol: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

cert_configOptional

cert_config: typing.Union[IResolvable, CertConfigProperty]

Property certConfig: HTTPS certificate information.


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.


tls_configOptional

tls_config: typing.Union[IResolvable, TlsConfigProperty]

Property tlsConfig: TLS config.


waf_configOptional

waf_config: typing.Union[IResolvable, WafConfigProperty]

Property wafConfig: Web application firewall configuration information.