Skip to content

DomainProps

Properties for defining a Domain.

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

Initializer

import { DomainProps } from '@alicloud/ros-cdk-apig'
const domainProps: DomainProps = { ... }

Properties

Name Type Description
domainName string | @alicloud/ros-cdk-core.IResolvable Property domainName: The name of the Domain.
protocol string | @alicloud/ros-cdk-core.IResolvable Property protocol: The types of protocols supported by the domain are as follows: * HTTP: Supports only the HTTP protocol.
certIdentifier string | @alicloud/ros-cdk-core.IResolvable Property certIdentifier: The tls Certificate identification.
forceHttps boolean | @alicloud/ros-cdk-core.IResolvable Property forceHttps: Set the HTTPS protocol type and whether to enable forced HTTPS redirection.
gatewayType string | @alicloud/ros-cdk-core.IResolvable Property gatewayType: The type of Gateway.
http2Option string | @alicloud/ros-cdk-core.IResolvable Property http2Option: Whether to enable http2 settings.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.
tlsCipherSuitesConfig @alicloud/ros-cdk-core.IResolvable | TlsCipherSuitesConfigProperty Property tlsCipherSuitesConfig: The configuration of the TLS encryption suite.
tlsMax string | @alicloud/ros-cdk-core.IResolvable Property tlsMax: The maximum version of the TLS protocol.
tlsMin string | @alicloud/ros-cdk-core.IResolvable Property tlsMin: The minimum version of the TLS protocol.

domainNameRequired

public readonly domainName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property domainName: The name of the Domain.


protocolRequired

public readonly protocol: string | IResolvable;
  • Type: string | @alicloud/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.

certIdentifierOptional

public readonly certIdentifier: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property certIdentifier: The tls Certificate identification.


forceHttpsOptional

public readonly forceHttps: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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


gatewayTypeOptional

public readonly gatewayType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property gatewayType: The type of Gateway.


http2OptionOptional

public readonly http2Option: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property http2Option: Whether to enable http2 settings.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group.


tlsCipherSuitesConfigOptional

public readonly tlsCipherSuitesConfig: IResolvable | TlsCipherSuitesConfigProperty;

Property tlsCipherSuitesConfig: The configuration of the TLS encryption suite.


tlsMaxOptional

public readonly tlsMax: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property tlsMax: The maximum version of the TLS protocol.

The maximum version of the TLS protocol is 1.3.


tlsMinOptional

public readonly tlsMin: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property tlsMin: The minimum version of the TLS protocol.

The minimum version of the TLS protocol is 1.0.