HttpsApplicationConfigurationProps
Properties for defining a HttpsApplicationConfiguration.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-httpsapplicationconfiguration
Initializer
import ros_cdk_esa
ros_cdk_esa.HttpsApplicationConfigurationProps(
site_id: typing.Union[typing.Union[int, float], IResolvable],
alt_svc: typing.Union[str, IResolvable] = None,
alt_svc_clear: typing.Union[str, IResolvable] = None,
alt_svc_ma: typing.Union[str, IResolvable] = None,
alt_svc_persist: typing.Union[str, IResolvable] = None,
hsts: typing.Union[str, IResolvable] = None,
hsts_include_subdomains: typing.Union[str, IResolvable] = None,
hsts_max_age: typing.Union[str, IResolvable] = None,
hsts_preload: typing.Union[str, IResolvable] = None,
https_force: typing.Union[str, IResolvable] = None,
https_force_code: typing.Union[str, IResolvable] = None,
https_no_sni_deny: typing.Union[str, IResolvable] = None,
https_sni_verify: typing.Union[str, IResolvable] = None,
https_sni_whitelist: typing.Union[str, IResolvable] = None,
payment_type: typing.Union[str, IResolvable] = None,
rule: typing.Union[str, IResolvable] = None,
rule_enable: typing.Union[str, IResolvable] = None,
rule_name: typing.Union[str, IResolvable] = None,
sequence: typing.Union[typing.Union[int, float], IResolvable] = None,
site_version: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
site_id | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property siteId: The site ID, which can be obtained by calling the ListSites API. |
alt_svc | typing.Union[str, ros_cdk_core.IResolvable] | Property altSvc: Function switch, default off. |
alt_svc_clear | typing.Union[str, ros_cdk_core.IResolvable] | Property altSvcClear: Alt-Svc whether The header contains the clear parameter. |
alt_svc_ma | typing.Union[str, ros_cdk_core.IResolvable] | Property altSvcMa: The effective time of the Alt-Svc, in seconds. |
alt_svc_persist | typing.Union[str, ros_cdk_core.IResolvable] | Property altSvcPersist: Alt-Svc whether The header contains the persist parameter. |
hsts | typing.Union[str, ros_cdk_core.IResolvable] | Property hsts: Whether to enable HSTS. |
hsts_include_subdomains | typing.Union[str, ros_cdk_core.IResolvable] | Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default. |
hsts_max_age | typing.Union[str, ros_cdk_core.IResolvable] | Property hstsMaxAge: The expiration time of HSTS, in seconds. |
hsts_preload | typing.Union[str, ros_cdk_core.IResolvable] | Property hstsPreload: Whether to enable HSTS preloading. |
https_force | typing.Union[str, ros_cdk_core.IResolvable] | Property httpsForce: Whether to enable forced HTTPS. |
https_force_code | typing.Union[str, ros_cdk_core.IResolvable] | Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308. |
https_no_sni_deny | typing.Union[str, ros_cdk_core.IResolvable] | Property httpsNoSniDeny: Whether to enable to reject TLS handshake requests without SNI. |
https_sni_verify | typing.Union[str, ros_cdk_core.IResolvable] | Property httpsSniVerify: Whether to enable SNI verification. |
https_sni_whitelist | typing.Union[str, ros_cdk_core.IResolvable] | Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces. |
payment_type | typing.Union[str, ros_cdk_core.IResolvable] | Property paymentType: Payment Type. |
rule | typing.Union[str, ros_cdk_core.IResolvable] | Property rule: Rule content, using conditional expressions to match user requests. |
rule_enable | typing.Union[str, ros_cdk_core.IResolvable] | Property ruleEnable: Rule switch. |
rule_name | typing.Union[str, ros_cdk_core.IResolvable] | Property ruleName: Rule name. |
sequence | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property sequence: Order of rule execution. |
site_version | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property siteVersion: The version number of the site configuration. |
site_idRequired
site_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property siteId: The site ID, which can be obtained by calling the ListSites API.
alt_svcOptional
alt_svc: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property altSvc: Function switch, default off.
Value range: on: Enabled. off: Disabled.
alt_svc_clearOptional
alt_svc_clear: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
alt_svc_maOptional
alt_svc_ma: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property altSvcMa: The effective time of the Alt-Svc, in seconds.
The default value is 86400 seconds.
alt_svc_persistOptional
alt_svc_persist: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
hsts: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property hsts: Whether to enable HSTS.
It is disabled by default. Value range: on: Enabled. off: Disabled.
hsts_include_subdomainsOptional
hsts_include_subdomains: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default.
Value range: on: Enabled. off: Disabled.
hsts_max_ageOptional
hsts_max_age: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property hstsMaxAge: The expiration time of HSTS, in seconds.
hsts_preloadOptional
hsts_preload: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property hstsPreload: Whether to enable HSTS preloading.
It is disabled by default. Value range: on: Enabled. off: Disabled.
https_forceOptional
https_force: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property httpsForce: Whether to enable forced HTTPS.
It is disabled by default. Value range: on: Enabled. off: Disabled.
https_force_codeOptional
https_force_code: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308.
https_no_sni_denyOptional
https_no_sni_deny: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
https_sni_verifyOptional
https_sni_verify: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property httpsSniVerify: Whether to enable SNI verification.
It is disabled by default. Value range: on: Enabled. off: Disabled.
https_sni_whitelistOptional
https_sni_whitelist: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces.
payment_typeOptional
payment_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property paymentType: Payment Type.
ruleOptional
rule: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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").
rule_enableOptional
rule_enable: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
rule_nameOptional
rule_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ruleName: Rule name.
When adding global configuration, this parameter does not need to be set.
sequenceOptional
sequence: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property sequence: Order of rule execution.
The smaller the value, the higher the priority for execution.
site_versionOptional
site_version: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.