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. |
name
Required
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.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the project.
labels
Optional
public readonly labels: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property labels: The labels for the project.
spec
Optional
public readonly spec: IResolvable | SpecProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | SpecProperty
Property spec: The project configuration.