import * as ros from '@alicloud/ros-cdk-core'; import { RosMachineGroup } from './sls.generated'; export { RosMachineGroup as MachineGroupProperty }; /** * Properties for defining a `MachineGroup`. * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-machinegroup */ export interface MachineGroupProps { /** * Property groupAttribute: Group attribute, default is null. The object value is groupTopic and externalName */ readonly groupAttribute?: string | ros.IResolvable; /** * Property groupName: Display name of the group name, the Project only. [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-' */ readonly groupName?: string | ros.IResolvable; /** * Property groupType: MachineGroup type, the value is empty or Armory */ readonly groupType?: string | ros.IResolvable; /** * Property machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined' */ readonly machineIdentifyType?: string | ros.IResolvable; /** * Property machineList: The machine tag, the value is ip or userdefined-id. */ readonly machineList?: Array | ros.IResolvable; /** * Property projectName: MachineGroup created in project. */ readonly projectName?: string | ros.IResolvable; } /** * Represents a `MachineGroup`. */ export interface IMachineGroup extends ros.IResource { readonly props: MachineGroupProps; /** * Attribute GroupName: GroupName of SLS. */ readonly attrGroupName: ros.IResolvable | string; /** * Attribute ProjectName: ProjectName of SLS. */ readonly attrProjectName: ros.IResolvable | string; } /** * This class encapsulates and extends the ROS resource type `ALIYUN::SLS::MachineGroup`, which is used to create a machine group. Log Service manages all the ECS instances whose logs need to be collected using the Logtail client in the form of machine groups. * @Note This class may have some new functions to facilitate development, so it is recommended to use this class instead of `RosMachineGroup`for a more convenient development experience. * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-machinegroup */ export declare class MachineGroup extends ros.Resource implements IMachineGroup { protected scope: ros.Construct; protected id: string; readonly props: MachineGroupProps; protected enableResourcePropertyConstraint: boolean; /** * Attribute GroupName: GroupName of SLS. */ readonly attrGroupName: ros.IResolvable | string; /** * Attribute ProjectName: ProjectName of SLS. */ readonly attrProjectName: 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?: MachineGroupProps, enableResourcePropertyConstraint?: boolean); }