Skip to content

ProjectProps

Properties for defining a Project.

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

Initializer

import { ProjectProps } from '@alicloud/ros-cdk-sls'
const projectProps: ProjectProps = { ... }

Properties

Name Type Description
name string | @alicloud/ros-cdk-core.IResolvable Property name: Project name: 1.
description string | @alicloud/ros-cdk-core.IResolvable Property description: Project description: <>'"\ is not supported, up to 64 characters.
tags TagsProperty[] Property tags: Tags to attach to project.

nameRequired

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

Property name: Project name: 1.

Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters.


descriptionOptional

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

Property description: Project description: <>'"\ is not supported, up to 64 characters.


tagsOptional

public readonly tags: TagsProperty[];

Property tags: Tags to attach to project.

Max support 20 tags to add during create project. Each tag with two properties Key and Value, and Key is required.