Skip to content

HttpsApplicationConfigurationProps

Properties for defining a HttpsApplicationConfiguration.

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

Initializer

import { HttpsApplicationConfigurationProps } from '@alicloud/ros-cdk-esa'
const httpsApplicationConfigurationProps: HttpsApplicationConfigurationProps = { ... }

Properties

Name Type Description
siteId number | @alicloud/ros-cdk-core.IResolvable Property siteId: The site ID, which can be obtained by calling the ListSites API.
altSvc string | @alicloud/ros-cdk-core.IResolvable Property altSvc: Function switch, default off.
altSvcClear string | @alicloud/ros-cdk-core.IResolvable Property altSvcClear: Alt-Svc whether The header contains the clear parameter.
altSvcMa string | @alicloud/ros-cdk-core.IResolvable Property altSvcMa: The effective time of the Alt-Svc, in seconds.
altSvcPersist string | @alicloud/ros-cdk-core.IResolvable Property altSvcPersist: Alt-Svc whether The header contains the persist parameter.
hsts string | @alicloud/ros-cdk-core.IResolvable Property hsts: Whether to enable HSTS.
hstsIncludeSubdomains string | @alicloud/ros-cdk-core.IResolvable Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default.
hstsMaxAge string | @alicloud/ros-cdk-core.IResolvable Property hstsMaxAge: The expiration time of HSTS, in seconds.
hstsPreload string | @alicloud/ros-cdk-core.IResolvable Property hstsPreload: Whether to enable HSTS preloading.
httpsForce string | @alicloud/ros-cdk-core.IResolvable Property httpsForce: Whether to enable forced HTTPS.
httpsForceCode string | @alicloud/ros-cdk-core.IResolvable Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308.
httpsNoSniDeny string | @alicloud/ros-cdk-core.IResolvable Property httpsNoSniDeny: Whether to enable to reject TLS handshake requests without SNI.
httpsSniVerify string | @alicloud/ros-cdk-core.IResolvable Property httpsSniVerify: Whether to enable SNI verification.
httpsSniWhitelist string | @alicloud/ros-cdk-core.IResolvable Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces.
paymentType string | @alicloud/ros-cdk-core.IResolvable Property paymentType: Payment Type.
rule string | @alicloud/ros-cdk-core.IResolvable Property rule: Rule content, using conditional expressions to match user requests.
ruleEnable string | @alicloud/ros-cdk-core.IResolvable Property ruleEnable: Rule switch.
ruleName string | @alicloud/ros-cdk-core.IResolvable Property ruleName: Rule name.
sequence number | @alicloud/ros-cdk-core.IResolvable Property sequence: Order of rule execution.
siteVersion number | @alicloud/ros-cdk-core.IResolvable Property siteVersion: The version number of the site configuration.

siteIdRequired

public readonly siteId: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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


altSvcOptional

public readonly altSvc: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property altSvc: Function switch, default off.

Value range: on: Enabled. off: Disabled.


altSvcClearOptional

public readonly altSvcClear: string | IResolvable;
  • Type: string | @alicloud/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 readonly altSvcMa: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

The default value is 86400 seconds.


altSvcPersistOptional

public readonly altSvcPersist: string | IResolvable;
  • Type: string | @alicloud/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 readonly hsts: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property hsts: Whether to enable HSTS.

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


hstsIncludeSubdomainsOptional

public readonly hstsIncludeSubdomains: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

Value range: on: Enabled. off: Disabled.


hstsMaxAgeOptional

public readonly hstsMaxAge: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


hstsPreloadOptional

public readonly hstsPreload: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property hstsPreload: Whether to enable HSTS preloading.

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


httpsForceOptional

public readonly httpsForce: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property httpsForce: Whether to enable forced HTTPS.

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


httpsForceCodeOptional

public readonly httpsForceCode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


httpsNoSniDenyOptional

public readonly httpsNoSniDeny: string | IResolvable;
  • Type: string | @alicloud/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 readonly httpsSniVerify: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property httpsSniVerify: Whether to enable SNI verification.

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


httpsSniWhitelistOptional

public readonly httpsSniWhitelist: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


paymentTypeOptional

public readonly paymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property paymentType: Payment Type.


ruleOptional

public readonly rule: string | IResolvable;
  • Type: string | @alicloud/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 readonly ruleEnable: string | IResolvable;
  • Type: string | @alicloud/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 readonly ruleName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ruleName: Rule name.

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


sequenceOptional

public readonly sequence: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property sequence: Order of rule execution.

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


siteVersionOptional

public readonly siteVersion: number | IResolvable;
  • Type: number | @alicloud/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.