Skip to content

DomainProps

Properties for defining a Domain.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-domain

Initializer

import com.aliyun.ros.cdk.apig.DomainProps;
DomainProps.builder()
    .domainName(java.lang.String)
    .domainName(IResolvable)
    .protocol(java.lang.String)
    .protocol(IResolvable)
//  .certIdentifier(java.lang.String)
//  .certIdentifier(IResolvable)
//  .forceHttps(java.lang.Boolean)
//  .forceHttps(IResolvable)
//  .gatewayType(java.lang.String)
//  .gatewayType(IResolvable)
//  .http2Option(java.lang.String)
//  .http2Option(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tlsCipherSuitesConfig(IResolvable)
//  .tlsCipherSuitesConfig(TlsCipherSuitesConfigProperty)
//  .tlsMax(java.lang.String)
//  .tlsMax(IResolvable)
//  .tlsMin(java.lang.String)
//  .tlsMin(IResolvable)
    .build();

Properties

Name Type Description
domainName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property domainName: The name of the Domain.
protocol java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property protocol: The types of protocols supported by the domain are as follows: * HTTP: Supports only the HTTP protocol.
certIdentifier java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property certIdentifier: The tls Certificate identification.
forceHttps java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property forceHttps: Set the HTTPS protocol type and whether to enable forced HTTPS redirection.
gatewayType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property gatewayType: The type of Gateway.
http2Option java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property http2Option: Whether to enable http2 settings.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
tlsCipherSuitesConfig com.aliyun.ros.cdk.core.IResolvable OR TlsCipherSuitesConfigProperty Property tlsCipherSuitesConfig: The configuration of the TLS encryption suite.
tlsMax java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property tlsMax: The maximum version of the TLS protocol.
tlsMin java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property tlsMin: The minimum version of the TLS protocol.

domainNameRequired

public java.lang.Object getDomainName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property domainName: The name of the Domain.


protocolRequired

public java.lang.Object getProtocol();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property protocol: The types of protocols supported by the domain are as follows: * HTTP: Supports only the HTTP protocol.

  • HTTPS: Supports only the HTTPS protocol.

certIdentifierOptional

public java.lang.Object getCertIdentifier();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property certIdentifier: The tls Certificate identification.


forceHttpsOptional

public java.lang.Object getForceHttps();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property forceHttps: Set the HTTPS protocol type and whether to enable forced HTTPS redirection.


gatewayTypeOptional

public java.lang.Object getGatewayType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property gatewayType: The type of Gateway.


http2OptionOptional

public java.lang.Object getHttp2Option();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property http2Option: Whether to enable http2 settings.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.


tlsCipherSuitesConfigOptional

public java.lang.Object getTlsCipherSuitesConfig();

Property tlsCipherSuitesConfig: The configuration of the TLS encryption suite.


tlsMaxOptional

public java.lang.Object getTlsMax();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property tlsMax: The maximum version of the TLS protocol.

The maximum version of the TLS protocol is 1.3.


tlsMinOptional

public java.lang.Object getTlsMin();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property tlsMin: The minimum version of the TLS protocol.

The minimum version of the TLS protocol is 1.0.