import * as ros from '@alicloud/ros-cdk-core'; import { RosProject } from './sls.generated'; export { RosProject as ProjectProperty }; /** * Properties for defining a `Project`. * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-project */ export interface ProjectProps { /** * Property name: Project name: * 1. Only supports lowercase letters, numbers, hyphens (-). * 2. Must start and end with lowercase letters and numbers. * 3. The name length is 3-63 characters. */ readonly name: string | ros.IResolvable; /** * Property dataRedundancyType: Disaster recovery type.LRS: Local redundant storage.ZRS: Local redundant storage. */ readonly dataRedundancyType?: string | ros.IResolvable; /** * Property description: Project description: <>'"\ is not supported, up to 64 characters. */ readonly description?: string | ros.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. */ readonly resourceGroupId?: string | ros.IResolvable; /** * 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. */ readonly tags?: RosProject.TagsProperty[]; } /** * Represents a `Project`. */ export interface IProject extends ros.IResource { readonly props: ProjectProps; /** * Attribute Name: Project name. */ readonly attrName: ros.IResolvable | string; } /** * This class encapsulates and extends the ROS resource type `ALIYUN::SLS::Project`. * @Note This class may have some new functions to facilitate development, so it is recommended to use this class instead of `RosProject`for a more convenient development experience. * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-project */ export declare class Project extends ros.Resource implements IProject { protected scope: ros.Construct; protected id: string; readonly props: ProjectProps; protected enableResourcePropertyConstraint: boolean; /** * Attribute Name: Project name. */ readonly attrName: ros.IResolvable | string; /** * Param scope - scope in which this resource is defined * Param id - scoped id of the resource * Param props - resource properties */ constructor(scope: ros.Construct, id: string, props: ProjectProps, enableResourcePropertyConstraint?: boolean); }