Skip to content

ServiceProps

Properties for defining a Service.

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

Initializer

import ros_cdk_pai
ros_cdk_pai.ServiceProps(
  service_config: typing.Union[IResolvable, typing.Mapping[typing.Any]],
  develop: typing.Union[str, IResolvable] = None,
  labels: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None
)

Properties

Name Type Description
service_config typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property serviceConfig: Service configuration information.
develop typing.Union[str, ros_cdk_core.IResolvable] Property develop: Whether to enter the development mode.
labels typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property labels: Service Tag.

service_configRequired

service_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property serviceConfig: Service configuration information.


developOptional

develop: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property develop: Whether to enter the development mode.


labelsOptional

labels: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property labels: Service Tag.