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. |
addresses
Required
public readonly addresses: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property addresses: Service Address List.
gatewayId
Required
public readonly gatewayId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property gatewayId: The ID of the Cloud Native API Gateway.
serviceName
Required
public readonly serviceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serviceName: The name of the service.
sourceType
Required
public readonly sourceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sourceType: The type of the service source.