Skip to content

HttpsBasicConfigurationProps

Properties for defining a HttpsBasicConfiguration.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-httpsbasicconfiguration

Initializer

import com.aliyun.ros.cdk.esa.HttpsBasicConfigurationProps;
HttpsBasicConfigurationProps.builder()
    .siteId(java.lang.Number)
    .siteId(IResolvable)
//  .ciphersuite(java.lang.String)
//  .ciphersuite(IResolvable)
//  .ciphersuiteGroup(java.lang.String)
//  .ciphersuiteGroup(IResolvable)
//  .http2(java.lang.String)
//  .http2(IResolvable)
//  .http3(java.lang.String)
//  .http3(IResolvable)
//  .https(java.lang.String)
//  .https(IResolvable)
//  .ocspStapling(java.lang.String)
//  .ocspStapling(IResolvable)
//  .rule(java.lang.String)
//  .rule(IResolvable)
//  .ruleEnable(java.lang.String)
//  .ruleEnable(IResolvable)
//  .ruleName(java.lang.String)
//  .ruleName(IResolvable)
//  .sequence(java.lang.Number)
//  .sequence(IResolvable)
//  .tls10(java.lang.String)
//  .tls10(IResolvable)
//  .tls11(java.lang.String)
//  .tls11(IResolvable)
//  .tls12(java.lang.String)
//  .tls12(IResolvable)
//  .tls13(java.lang.String)
//  .tls13(IResolvable)
    .build();

Properties

Name Type Description
siteId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property siteId: Site ID, which can be obtained by calling the ListSites interface.
ciphersuite java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ciphersuite: Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom.
ciphersuiteGroup java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ciphersuiteGroup: Cipher suite group.
http2 java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property http2: Indicates whether HTTP2 is enabled.
http3 java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property http3: Whether to enable HTTP3, which is enabled by default.
https java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property https: Whether to enable HTTPS.
ocspStapling java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ocspStapling: Indicates whether OCSP is enabled.
rule java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property rule: Rule content, using conditional expressions to match user requests.
ruleEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ruleEnable: Rule switch.
ruleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ruleName: Rule name.
sequence java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property sequence: Order of rule execution.
tls10 java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property tls10: Whether to enable TLS1.0. Default is disabled. Possible values: - on: Enable. - off: Disable.
tls11 java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property tls11: Whether to enable TLS1.1. Default is enabled. Possible values: - on: Enable. - off: Disable.
tls12 java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property tls12: Whether to enable TLS1.2. Default is enabled. Possible values: - on: Enable. - off: Disable.
tls13 java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property tls13: Whether to enable TLS1.3. Default is enabled. Possible values: - on: Enable. - off: Disable.

siteIdRequired

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

Property siteId: Site ID, which can be obtained by calling the ListSites interface.


ciphersuiteOptional

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

Property ciphersuite: Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom.


ciphersuiteGroupOptional

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

Property ciphersuiteGroup: Cipher suite group.

Default is all cipher suites. Possible values:

  • all: All cipher suites.
  • strict: Strong cipher suites.
  • custom: Custom cipher suites.

http2Optional

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

Property http2: Indicates whether HTTP2 is enabled.

Default is on. Possible values:

  • on: Enabled.
  • off: Disabled.

http3Optional

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

Property http3: Whether to enable HTTP3, which is enabled by default.

The value can be:

  • on: Enabled.
  • off: Disabled.

httpsOptional

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

Property https: Whether to enable HTTPS.

Default is enabled. Possible values:

  • on: Enable.
  • off: Disable.

ocspStaplingOptional

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

Property ocspStapling: Indicates whether OCSP is enabled.

Default is off. Possible values:

  • on: Enabled.
  • off: Disabled.

ruleOptional

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

Property rule: Rule content, using conditional expressions to match user requests.

When adding global configuration, this parameter does not need to be set. There are two usage scenarios:

  • Match all incoming requests: value set to true
  • Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com").

ruleEnableOptional

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

Property ruleEnable: Rule switch.

When adding global configuration, this parameter does not need to be set. Value range:

  • on: open.
  • off: close.

ruleNameOptional

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

Property ruleName: Rule name.

When adding global configuration, this parameter does not need to be set.


sequenceOptional

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

Property sequence: Order of rule execution.

The smaller the value, the higher the priority for execution.


tls10Optional

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

Property tls10: Whether to enable TLS1.0. Default is disabled. Possible values: - on: Enable. - off: Disable.


tls11Optional

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

Property tls11: Whether to enable TLS1.1. Default is enabled. Possible values: - on: Enable. - off: Disable.


tls12Optional

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

Property tls12: Whether to enable TLS1.2. Default is enabled. Possible values: - on: Enable. - off: Disable.


tls13Optional

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

Property tls13: Whether to enable TLS1.3. Default is enabled. Possible values: - on: Enable. - off: Disable.