Skip to content

MachineGroupProps

Properties for defining a MachineGroup.

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

Initializer

import { MachineGroupProps } from '@alicloud/ros-cdk-sls'
const machineGroupProps: MachineGroupProps = { ... }

Properties

Name Type Description
groupAttribute string | @alicloud/ros-cdk-core.IResolvable Property groupAttribute: Group attribute, default is null.
groupName string | @alicloud/ros-cdk-core.IResolvable Property groupName: Display name of the group name, the Project only.
groupType string | @alicloud/ros-cdk-core.IResolvable Property groupType: MachineGroup type, the value is empty or Armory.
machineIdentifyType string | @alicloud/ros-cdk-core.IResolvable Property machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined'.
machineList any[] | @alicloud/ros-cdk-core.IResolvable Property machineList: The machine tag, the value is ip or userdefined-id.
projectName string | @alicloud/ros-cdk-core.IResolvable Property projectName: MachineGroup created in project.

groupAttributeOptional

public readonly groupAttribute: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property groupAttribute: Group attribute, default is null.

The object value is groupToic and externalName


groupNameOptional

public readonly groupName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.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 '.', '-'


groupTypeOptional

public readonly groupType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property groupType: MachineGroup type, the value is empty or Armory.


machineIdentifyTypeOptional

public readonly machineIdentifyType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property machineIdentifyType: Machine indentify type, the value is 'ip' or 'userdefined'.


machineListOptional

public readonly machineList: any[] | IResolvable;
  • Type: any[] | @alicloud/ros-cdk-core.IResolvable

Property machineList: The machine tag, the value is ip or userdefined-id.


projectNameOptional

public readonly projectName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property projectName: MachineGroup created in project.