Skip to content

ProjectProps

Properties for defining a Project.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksls"
&alicloudroscdksls.ProjectProps {
    Name: interface{},
    DataRedundancyType: interface{},
    Description: interface{},
    ResourceGroupId: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdksls.RosProject.TagsProperty,
}

Properties

Name Type Description
Name interface{} Property name: Project name: 1.
DataRedundancyType interface{} Property dataRedundancyType: Disaster recovery type.LRS: Local redundant storage.ZRS: Local redundant storage.
Description interface{} Property description: Project description: <>'"\ is not supported, up to 64 characters.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group to which the sls project belongs.
Tags *[]TagsProperty Property tags: Tags to attach to project.

NameRequired

Name interface{}
  • Type: interface{}

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.


DataRedundancyTypeOptional

DataRedundancyType interface{}
  • Type: interface{}

Property dataRedundancyType: Disaster recovery type.LRS: Local redundant storage.ZRS: Local redundant storage.


DescriptionOptional

Description interface{}
  • Type: interface{}

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


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

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.


TagsOptional

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.