HttpsBasicConfigurationProps
Properties for defining a HttpsBasicConfiguration.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-httpsbasicconfiguration
Initializer
import ros_cdk_esa
ros_cdk_esa.HttpsBasicConfigurationProps(
site_id: typing.Union[typing.Union[int, float], IResolvable],
ciphersuite: typing.Union[str, IResolvable] = None,
ciphersuite_group: typing.Union[str, IResolvable] = None,
http2: typing.Union[str, IResolvable] = None,
http3: typing.Union[str, IResolvable] = None,
https: typing.Union[str, IResolvable] = None,
ocsp_stapling: 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,
tls10: typing.Union[str, IResolvable] = None,
tls11: typing.Union[str, IResolvable] = None,
tls12: typing.Union[str, IResolvable] = None,
tls13: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
site_id | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property siteId: Site ID, which can be obtained by calling the ListSites interface. |
ciphersuite | typing.Union[str, ros_cdk_core.IResolvable] | Property ciphersuite: Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom. |
ciphersuite_group | typing.Union[str, ros_cdk_core.IResolvable] | Property ciphersuiteGroup: Cipher suite group. |
http2 | typing.Union[str, ros_cdk_core.IResolvable] | Property http2: Indicates whether HTTP2 is enabled. |
http3 | typing.Union[str, ros_cdk_core.IResolvable] | Property http3: Whether to enable HTTP3, which is enabled by default. |
https | typing.Union[str, ros_cdk_core.IResolvable] | Property https: Whether to enable HTTPS. |
ocsp_stapling | typing.Union[str, ros_cdk_core.IResolvable] | Property ocspStapling: Indicates whether OCSP is enabled. |
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. |
tls10 | typing.Union[str, ros_cdk_core.IResolvable] | Property tls10: Whether to enable TLS1.0. Default is disabled. Possible values: - on: Enable. - off: Disable. |
tls11 | typing.Union[str, ros_cdk_core.IResolvable] | Property tls11: Whether to enable TLS1.1. Default is enabled. Possible values: - on: Enable. - off: Disable. |
tls12 | typing.Union[str, ros_cdk_core.IResolvable] | Property tls12: Whether to enable TLS1.2. Default is enabled. Possible values: - on: Enable. - off: Disable. |
tls13 | typing.Union[str, ros_cdk_core.IResolvable] | Property tls13: Whether to enable TLS1.3. Default is enabled. Possible values: - on: Enable. - off: Disable. |
site_idRequired
site_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property siteId: Site ID, which can be obtained by calling the ListSites interface.
ciphersuiteOptional
ciphersuite: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ciphersuite: Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom.
ciphersuite_groupOptional
ciphersuite_group: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
http2: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property http2: Indicates whether HTTP2 is enabled.
Default is on. Possible values:
- on: Enabled.
- off: Disabled.
http3Optional
http3: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property http3: Whether to enable HTTP3, which is enabled by default.
The value can be:
- on: Enabled.
- off: Disabled.
httpsOptional
https: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property https: Whether to enable HTTPS.
Default is enabled. Possible values:
- on: Enable.
- off: Disable.
ocsp_staplingOptional
ocsp_stapling: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ocspStapling: Indicates whether OCSP is enabled.
Default is off. Possible values:
- on: Enabled.
- off: Disabled.
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: open.
- off: close.
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.
tls10Optional
tls10: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property tls10: Whether to enable TLS1.0. Default is disabled. Possible values: - on: Enable. - off: Disable.
tls11Optional
tls11: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property tls11: Whether to enable TLS1.1. Default is enabled. Possible values: - on: Enable. - off: Disable.
tls12Optional
tls12: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property tls12: Whether to enable TLS1.2. Default is enabled. Possible values: - on: Enable. - off: Disable.
tls13Optional
tls13: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property tls13: Whether to enable TLS1.3. Default is enabled. Possible values: - on: Enable. - off: Disable.