HttpsApplicationConfigurationProps
Properties for defining a HttpsApplicationConfiguration.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-httpsapplicationconfiguration
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
&alicloudroscdkesa.HttpsApplicationConfigurationProps {
SiteId: interface{},
AltSvc: interface{},
AltSvcClear: interface{},
AltSvcMa: interface{},
AltSvcPersist: interface{},
Hsts: interface{},
HstsIncludeSubdomains: interface{},
HstsMaxAge: interface{},
HstsPreload: interface{},
HttpsForce: interface{},
HttpsForceCode: interface{},
HttpsNoSniDeny: interface{},
HttpsSniVerify: interface{},
HttpsSniWhitelist: interface{},
PaymentType: interface{},
Rule: interface{},
RuleEnable: interface{},
RuleName: interface{},
Sequence: interface{},
SiteVersion: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
SiteId | interface{} | Property siteId: The site ID, which can be obtained by calling the ListSites API. |
AltSvc | interface{} | Property altSvc: Function switch, default off. |
AltSvcClear | interface{} | Property altSvcClear: Alt-Svc whether The header contains the clear parameter. |
AltSvcMa | interface{} | Property altSvcMa: The effective time of the Alt-Svc, in seconds. |
AltSvcPersist | interface{} | Property altSvcPersist: Alt-Svc whether The header contains the persist parameter. |
Hsts | interface{} | Property hsts: Whether to enable HSTS. |
HstsIncludeSubdomains | interface{} | Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default. |
HstsMaxAge | interface{} | Property hstsMaxAge: The expiration time of HSTS, in seconds. |
HstsPreload | interface{} | Property hstsPreload: Whether to enable HSTS preloading. |
HttpsForce | interface{} | Property httpsForce: Whether to enable forced HTTPS. |
HttpsForceCode | interface{} | Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308. |
HttpsNoSniDeny | interface{} | Property httpsNoSniDeny: Whether to enable to reject TLS handshake requests without SNI. |
HttpsSniVerify | interface{} | Property httpsSniVerify: Whether to enable SNI verification. |
HttpsSniWhitelist | interface{} | Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces. |
PaymentType | interface{} | Property paymentType: Payment Type. |
Rule | interface{} | Property rule: Rule content, using conditional expressions to match user requests. |
RuleEnable | interface{} | Property ruleEnable: Rule switch. |
RuleName | interface{} | Property ruleName: Rule name. |
Sequence | interface{} | Property sequence: Order of rule execution. |
SiteVersion | interface{} | Property siteVersion: The version number of the site configuration. |
SiteIdRequired
SiteId interface{}
- Type: interface{}
Property siteId: The site ID, which can be obtained by calling the ListSites API.
AltSvcOptional
AltSvc interface{}
- Type: interface{}
Property altSvc: Function switch, default off.
Value range: on: Enabled. off: Disabled.
AltSvcClearOptional
AltSvcClear interface{}
- Type: interface{}
Property altSvcClear: Alt-Svc whether The header contains the clear parameter.
This parameter is disabled by default. Value range: on: Enabled. off: Disabled.
AltSvcMaOptional
AltSvcMa interface{}
- Type: interface{}
Property altSvcMa: The effective time of the Alt-Svc, in seconds.
The default value is 86400 seconds.
AltSvcPersistOptional
AltSvcPersist interface{}
- Type: interface{}
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 interface{}
- Type: interface{}
Property hsts: Whether to enable HSTS.
It is disabled by default. Value range: on: Enabled. off: Disabled.
HstsIncludeSubdomainsOptional
HstsIncludeSubdomains interface{}
- Type: interface{}
Property hstsIncludeSubdomains: Whether to include subdomains in HSTS is disabled by default.
Value range: on: Enabled. off: Disabled.
HstsMaxAgeOptional
HstsMaxAge interface{}
- Type: interface{}
Property hstsMaxAge: The expiration time of HSTS, in seconds.
HstsPreloadOptional
HstsPreload interface{}
- Type: interface{}
Property hstsPreload: Whether to enable HSTS preloading.
It is disabled by default. Value range: on: Enabled. off: Disabled.
HttpsForceOptional
HttpsForce interface{}
- Type: interface{}
Property httpsForce: Whether to enable forced HTTPS.
It is disabled by default. Value range: on: Enabled. off: Disabled.
HttpsForceCodeOptional
HttpsForceCode interface{}
- Type: interface{}
Property httpsForceCode: Forced HTTPS jump status code, value range: 301 302 307 308.
HttpsNoSniDenyOptional
HttpsNoSniDeny interface{}
- Type: interface{}
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
HttpsSniVerify interface{}
- Type: interface{}
Property httpsSniVerify: Whether to enable SNI verification.
It is disabled by default. Value range: on: Enabled. off: Disabled.
HttpsSniWhitelistOptional
HttpsSniWhitelist interface{}
- Type: interface{}
Property httpsSniWhitelist: Specifies the list of allowed SNI whitelists, separated by spaces.
PaymentTypeOptional
PaymentType interface{}
- Type: interface{}
Property paymentType: Payment Type.
RuleOptional
Rule interface{}
- Type: interface{}
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
RuleEnable interface{}
- Type: interface{}
Property ruleEnable: Rule switch.
When adding global configuration, this parameter does not need to be set. Value range: on: Enabled. off: Disabled.
RuleNameOptional
RuleName interface{}
- Type: interface{}
Property ruleName: Rule name.
When adding global configuration, this parameter does not need to be set.
SequenceOptional
Sequence interface{}
- Type: interface{}
Property sequence: Order of rule execution.
The smaller the value, the higher the priority for execution.
SiteVersionOptional
SiteVersion interface{}
- Type: interface{}
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.