Skip to content

HttpsApplicationConfigurationProps

Properties for defining a HttpsApplicationConfiguration.

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

Initializer

import com.aliyun.ros.cdk.esa.HttpsApplicationConfigurationProps;
HttpsApplicationConfigurationProps.builder()
    .siteId(java.lang.Number)
    .siteId(IResolvable)
//  .altSvc(java.lang.String)
//  .altSvc(IResolvable)
//  .altSvcClear(java.lang.String)
//  .altSvcClear(IResolvable)
//  .altSvcMa(java.lang.String)
//  .altSvcMa(IResolvable)
//  .altSvcPersist(java.lang.String)
//  .altSvcPersist(IResolvable)
//  .hsts(java.lang.String)
//  .hsts(IResolvable)
//  .hstsIncludeSubdomains(java.lang.String)
//  .hstsIncludeSubdomains(IResolvable)
//  .hstsMaxAge(java.lang.String)
//  .hstsMaxAge(IResolvable)
//  .hstsPreload(java.lang.String)
//  .hstsPreload(IResolvable)
//  .httpsForce(java.lang.String)
//  .httpsForce(IResolvable)
//  .httpsForceCode(java.lang.String)
//  .httpsForceCode(IResolvable)
//  .httpsNoSniDeny(java.lang.String)
//  .httpsNoSniDeny(IResolvable)
//  .httpsSniVerify(java.lang.String)
//  .httpsSniVerify(IResolvable)
//  .httpsSniWhitelist(java.lang.String)
//  .httpsSniWhitelist(IResolvable)
//  .paymentType(java.lang.String)
//  .paymentType(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)
//  .siteVersion(java.lang.Number)
//  .siteVersion(IResolvable)
    .build();

Properties

Name Type Description
siteId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property siteId: The site ID, which can be obtained by calling the ListSites API.
altSvc java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property altSvc: Function switch, default off.
altSvcClear java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property altSvcClear: Alt-Svc whether The header contains the clear parameter.
altSvcMa java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property altSvcMa: The effective time of the Alt-Svc, in seconds.
altSvcPersist java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property altSvcPersist: Alt-Svc whether The header contains the persist parameter.
hsts java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hsts: Whether to enable HSTS.
hstsIncludeSubdomains java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default.
hstsMaxAge java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hstsMaxAge: The expiration time of HSTS, in seconds.
hstsPreload java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hstsPreload: Whether to enable HSTS preloading.
httpsForce java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpsForce: Whether to enable forced HTTPS.
httpsForceCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308.
httpsNoSniDeny java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpsNoSniDeny: Whether to enable to reject TLS handshake requests without SNI.
httpsSniVerify java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpsSniVerify: Whether to enable SNI verification.
httpsSniWhitelist java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces.
paymentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property paymentType: Payment Type.
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.
siteVersion java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property siteVersion: The version number of the site configuration.

siteIdRequired

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

Property siteId: The site ID, which can be obtained by calling the ListSites API.


altSvcOptional

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

Property altSvc: Function switch, default off.

Value range: on: Enabled. off: Disabled.


altSvcClearOptional

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

Property altSvcClear: Alt-Svc whether The header contains the clear parameter.

This parameter is disabled by default. Value range: on: Enabled. off: Disabled.


altSvcMaOptional

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

Property altSvcMa: The effective time of the Alt-Svc, in seconds.

The default value is 86400 seconds.


altSvcPersistOptional

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

Property altSvcPersist: Alt-Svc whether The header contains the persist parameter.

This parameter is disabled by default. Value range: on: Enabled. off: Disabled.


hstsOptional

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

Property hsts: Whether to enable HSTS.

It is disabled by default. Value range: on: Enabled. off: Disabled.


hstsIncludeSubdomainsOptional

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

Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default.

Value range: on: Enabled. off: Disabled.


hstsMaxAgeOptional

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

Property hstsMaxAge: The expiration time of HSTS, in seconds.


hstsPreloadOptional

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

Property hstsPreload: Whether to enable HSTS preloading.

It is disabled by default. Value range: on: Enabled. off: Disabled.


httpsForceOptional

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

Property httpsForce: Whether to enable forced HTTPS.

It is disabled by default. Value range: on: Enabled. off: Disabled.


httpsForceCodeOptional

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

Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308.


httpsNoSniDenyOptional

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

Property httpsNoSniDeny: Whether to enable to reject TLS handshake requests without SNI.

This parameter is disabled by default. Value range: on: Enabled. off: Disabled.


httpsSniVerifyOptional

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

Property httpsSniVerify: Whether to enable SNI verification.

It is disabled by default. Value range: on: Enabled. off: Disabled.


httpsSniWhitelistOptional

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

Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces.


paymentTypeOptional

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

Property paymentType: Payment Type.


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: Enabled. off: Disabled.


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.


siteVersionOptional

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

Property siteVersion: The version number of the site configuration.

For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.