Skip to content

ProjectProps

Properties for defining a Project.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-serverlessdev-project

Initializer

import ros_cdk_serverlessdev
ros_cdk_serverlessdev.ProjectProps(
  name: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  labels: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  spec: typing.Union[IResolvable, SpecProperty] = None
)

Properties

Name Type Description
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the project.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the project.
labels typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property labels: The labels for the project.
spec typing.Union[ros_cdk_core.IResolvable, SpecProperty] Property spec: The project configuration.

nameRequired

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

Property name: The name of the project.

It needs to be unique and cannot be changed.


descriptionOptional

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

Property description: The description of the project.


labelsOptional

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

Property labels: The labels for the project.


specOptional

spec: typing.Union[IResolvable, SpecProperty]
  • Type: typing.Union[ros_cdk_core.IResolvable, SpecProperty]

Property spec: The project configuration.