Skip to content

HttpsBasicConfigurationProps

Properties for defining a HttpsBasicConfiguration.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
&alicloudroscdkesa.HttpsBasicConfigurationProps {
    SiteId: interface{},
    Ciphersuite: interface{},
    CiphersuiteGroup: interface{},
    Http2: interface{},
    Http3: interface{},
    Https: interface{},
    OcspStapling: interface{},
    Rule: interface{},
    RuleEnable: interface{},
    RuleName: interface{},
    Sequence: interface{},
    Tls10: interface{},
    Tls11: interface{},
    Tls12: interface{},
    Tls13: interface{},
}

Properties

Name Type Description
SiteId interface{} Property siteId: Site ID, which can be obtained by calling the ListSites interface.
Ciphersuite interface{} Property ciphersuite: Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom.
CiphersuiteGroup interface{} Property ciphersuiteGroup: Cipher suite group.
Http2 interface{} Property http2: Indicates whether HTTP2 is enabled.
Http3 interface{} Property http3: Whether to enable HTTP3, which is enabled by default.
Https interface{} Property https: Whether to enable HTTPS.
OcspStapling interface{} Property ocspStapling: Indicates whether OCSP is enabled.
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.
Tls10 interface{} Property tls10: Whether to enable TLS1.0. Default is disabled. Possible values: - on: Enable. - off: Disable.
Tls11 interface{} Property tls11: Whether to enable TLS1.1. Default is enabled. Possible values: - on: Enable. - off: Disable.
Tls12 interface{} Property tls12: Whether to enable TLS1.2. Default is enabled. Possible values: - on: Enable. - off: Disable.
Tls13 interface{} Property tls13: Whether to enable TLS1.3. Default is enabled. Possible values: - on: Enable. - off: Disable.

SiteIdRequired

SiteId interface{}
  • Type: interface{}

Property siteId: Site ID, which can be obtained by calling the ListSites interface.


CiphersuiteOptional

Ciphersuite interface{}
  • Type: interface{}

Property ciphersuite: Custom cipher suite, indicating the specific encryption algorithm selected when CiphersuiteGroup is set to custom.


CiphersuiteGroupOptional

CiphersuiteGroup interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

Property http2: Indicates whether HTTP2 is enabled.

Default is on. Possible values:

  • on: Enabled.
  • off: Disabled.

Http3Optional

Http3 interface{}
  • Type: interface{}

Property http3: Whether to enable HTTP3, which is enabled by default.

The value can be:

  • on: Enabled.
  • off: Disabled.

HttpsOptional

Https interface{}
  • Type: interface{}

Property https: Whether to enable HTTPS.

Default is enabled. Possible values:

  • on: Enable.
  • off: Disable.

OcspStaplingOptional

OcspStapling interface{}
  • Type: interface{}

Property ocspStapling: Indicates whether OCSP is enabled.

Default is off. Possible values:

  • on: Enabled.
  • off: Disabled.

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: open.
  • off: close.

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.


Tls10Optional

Tls10 interface{}
  • Type: interface{}

Property tls10: Whether to enable TLS1.0. Default is disabled. Possible values: - on: Enable. - off: Disable.


Tls11Optional

Tls11 interface{}
  • Type: interface{}

Property tls11: Whether to enable TLS1.1. Default is enabled. Possible values: - on: Enable. - off: Disable.


Tls12Optional

Tls12 interface{}
  • Type: interface{}

Property tls12: Whether to enable TLS1.2. Default is enabled. Possible values: - on: Enable. - off: Disable.


Tls13Optional

Tls13 interface{}
  • Type: interface{}

Property tls13: Whether to enable TLS1.3. Default is enabled. Possible values: - on: Enable. - off: Disable.