Skip to content

ProjectProps

Properties for defining a Project.

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

Initializer

import com.aliyun.ros.cdk.sls.ProjectProps;
ProjectProps.builder()
    .name(java.lang.String)
    .name(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: Project name: 1.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Project description: <>'"\ is not supported, up to 64 characters.
tags java.util.List<TagsProperty> Property tags: Tags to attach to project.

nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


tagsOptional

public java.util.List<TagsProperty> getTags();

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.