Skip to content

DeviceGroupProps

Properties for defining a DeviceGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-iot-devicegroup

Initializer

import { DeviceGroupProps } from '@alicloud/ros-cdk-iot'
const deviceGroupProps: DeviceGroupProps = { ... }

Properties

Name Type Description
groupName string | @alicloud/ros-cdk-core.IResolvable Property groupName: The name of the group.
groupDesc string | @alicloud/ros-cdk-core.IResolvable Property groupDesc: The description of the group.
iotInstanceId string | @alicloud/ros-cdk-core.IResolvable Property iotInstanceId: Public instance does not pass this parameter;
superGroupId string | @alicloud/ros-cdk-core.IResolvable Property superGroupId: The ID of the parent group.

groupNameRequired

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

Property groupName: The name of the group.

The name can contain Chinese characters, English letters, digits, and underscores (_). The length must be 4 to 30 characters (a Chinese character counts as two characters).


groupDescOptional

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

Property groupDesc: The description of the group.

You can enter a description with up to 100 characters.


iotInstanceIdOptional

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

Property iotInstanceId: Public instance does not pass this parameter;

instance that you need to buy the incoming instance ID.


superGroupIdOptional

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

Property superGroupId: The ID of the parent group.

If you want to create a first-level group, do not enter this parameter.