ProjectProps
Properties for defining a Project.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-serverlessdev-project
Initializer
import { ProjectProps } from '@alicloud/ros-cdk-serverlessdev'
const projectProps: ProjectProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: The name of the project. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: The description of the project. |
labels |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property labels: The labels for the project. |
spec |
@alicloud/ros-cdk-core.IResolvable | SpecProperty |
Property spec: The project configuration. |
nameRequired
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of the project.
It needs to be unique and cannot be changed.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the project.
labelsOptional
public readonly labels: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property labels: The labels for the project.
specOptional
public readonly spec: IResolvable | SpecProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | SpecProperty
Property spec: The project configuration.