Skip to content

CustomDomainProps

Properties for defining a CustomDomain.

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

Initializer

import com.aliyun.ros.cdk.fc3.CustomDomainProps;
CustomDomainProps.builder()
    .authConfig(IResolvable)
    .authConfig(AuthConfigProperty)
    .domainName(java.lang.String)
    .domainName(IResolvable)
    .protocol(java.lang.String)
    .protocol(IResolvable)
//  .certConfig(IResolvable)
//  .certConfig(CertConfigProperty)
//  .routeConfig(IResolvable)
//  .routeConfig(RouteConfigProperty)
//  .tlsConfig(IResolvable)
//  .tlsConfig(TlsConfigProperty)
//  .wafConfig(IResolvable)
//  .wafConfig(WafConfigProperty)
    .build();

Properties

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

authConfigRequired

public java.lang.Object getAuthConfig();

Property authConfig: Permission authentication configuration.


domainNameRequired

public java.lang.Object getDomainName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getProtocol();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getCertConfig();

Property certConfig: HTTPS certificate information.


routeConfigOptional

public java.lang.Object getRouteConfig();

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


tlsConfigOptional

public java.lang.Object getTlsConfig();

Property tlsConfig: TLS config.


wafConfigOptional

public java.lang.Object getWafConfig();

Property wafConfig: Web application firewall configuration information.