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.

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.