Skip to content

ServiceProps

Properties for defining a Service.

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

Initializer

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

Properties

Name Type Description
addresses @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property addresses: Service Address List.
gatewayId string | @alicloud/ros-cdk-core.IResolvable Property gatewayId: The ID of the Cloud Native API Gateway.
serviceName string | @alicloud/ros-cdk-core.IResolvable Property serviceName: The name of the service.
sourceType string | @alicloud/ros-cdk-core.IResolvable Property sourceType: The type of the service source.

addressesRequired

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

Property addresses: Service Address List.


gatewayIdRequired

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

Property gatewayId: The ID of the Cloud Native API Gateway.


serviceNameRequired

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

Property serviceName: The name of the service.


sourceTypeRequired

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

Property sourceType: The type of the service source.