Skip to content

DomainProps

Properties for defining a Domain.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-domain

Initializer

import ros_cdk_apig
ros_cdk_apig.DomainProps(
  domain_name: typing.Union[str, IResolvable],
  protocol: typing.Union[str, IResolvable],
  cert_identifier: typing.Union[str, IResolvable] = None,
  force_https: typing.Union[bool, IResolvable] = None,
  gateway_type: typing.Union[str, IResolvable] = None,
  http2_option: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tls_cipher_suites_config: typing.Union[IResolvable, TlsCipherSuitesConfigProperty] = None,
  tls_max: typing.Union[str, IResolvable] = None,
  tls_min: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
domain_name typing.Union[str, ros_cdk_core.IResolvable] Property domainName: The name of the Domain.
protocol typing.Union[str, ros_cdk_core.IResolvable] Property protocol: The types of protocols supported by the domain are as follows: * HTTP: Supports only the HTTP protocol.
cert_identifier typing.Union[str, ros_cdk_core.IResolvable] Property certIdentifier: The tls Certificate identification.
force_https typing.Union[bool, ros_cdk_core.IResolvable] Property forceHttps: Set the HTTPS protocol type and whether to enable forced HTTPS redirection.
gateway_type typing.Union[str, ros_cdk_core.IResolvable] Property gatewayType: The type of Gateway.
http2_option typing.Union[str, ros_cdk_core.IResolvable] Property http2Option: Whether to enable http2 settings.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.
tls_cipher_suites_config typing.Union[ros_cdk_core.IResolvable, TlsCipherSuitesConfigProperty] Property tlsCipherSuitesConfig: The configuration of the TLS encryption suite.
tls_max typing.Union[str, ros_cdk_core.IResolvable] Property tlsMax: The maximum version of the TLS protocol.
tls_min typing.Union[str, ros_cdk_core.IResolvable] Property tlsMin: The minimum version of the TLS protocol.

domain_nameRequired

domain_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property domainName: The name of the Domain.


protocolRequired

protocol: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property protocol: The types of protocols supported by the domain are as follows: * HTTP: Supports only the HTTP protocol.

  • HTTPS: Supports only the HTTPS protocol.

cert_identifierOptional

cert_identifier: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property certIdentifier: The tls Certificate identification.


force_httpsOptional

force_https: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property forceHttps: Set the HTTPS protocol type and whether to enable forced HTTPS redirection.


gateway_typeOptional

gateway_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property gatewayType: The type of Gateway.


http2_optionOptional

http2_option: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property http2Option: Whether to enable http2 settings.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: The ID of the resource group.


tls_cipher_suites_configOptional

tls_cipher_suites_config: typing.Union[IResolvable, TlsCipherSuitesConfigProperty]

Property tlsCipherSuitesConfig: The configuration of the TLS encryption suite.


tls_maxOptional

tls_max: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property tlsMax: The maximum version of the TLS protocol.

The maximum version of the TLS protocol is 1.3.


tls_minOptional

tls_min: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property tlsMin: The minimum version of the TLS protocol.

The minimum version of the TLS protocol is 1.0.