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. |
dataRedundancyType |
string | @alicloud/ros-cdk-core.IResolvable |
Property dataRedundancyType: Disaster recovery type.LRS: Local redundant storage.ZRS: Local redundant storage. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: Project description: <>'"\ is not supported, up to 64 characters. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group to which the sls project belongs. |
tags |
TagsProperty[] |
Property tags: Tags to attach to project. |
name
Required
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.
dataRedundancyType
Optional
public readonly dataRedundancyType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dataRedundancyType: Disaster recovery type.LRS: Local redundant storage.ZRS: Local redundant storage.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Project description: <>'"\ is not supported, up to 64 characters.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group to which the sls project belongs.
If not provided, the project belongs to the default resource group.
tags
Optional
public readonly tags: TagsProperty[];
- Type: 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.