Skip to content

ServiceProps

Properties for defining a Service.

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

Initializer

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

Properties

Name Type Description
serviceConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property serviceConfig: Service configuration information.
develop string | @alicloud/ros-cdk-core.IResolvable Property develop: Whether to enter the development mode.
labels @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property labels: Service Tag.

serviceConfigRequired

public readonly serviceConfig: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property serviceConfig: Service configuration information.


developOptional

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

Property develop: Whether to enter the development mode.


labelsOptional

public readonly labels: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property labels: Service Tag.