Skip to content

ProjectProps

Properties for defining a Project.

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

Initializer

import com.aliyun.ros.cdk.serverlessdev.ProjectProps;
ProjectProps.builder()
    .name(java.lang.String)
    .name(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .labels(IResolvable)
//  .labels(java.util.Map<java.lang.String, java.lang.Object>)
//  .spec(IResolvable)
//  .spec(SpecProperty)
    .build();

Properties

Name Type Description
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the project.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the project.
labels com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property labels: The labels for the project.
spec com.aliyun.ros.cdk.core.IResolvable OR SpecProperty Property spec: The project configuration.

nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name of the project.

It needs to be unique and cannot be changed.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the project.


labelsOptional

public java.lang.Object getLabels();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property labels: The labels for the project.


specOptional

public java.lang.Object getSpec();

Property spec: The project configuration.