Skip to content

DeviceGroupProps

Properties for defining a DeviceGroup.

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

Initializer

import ros_cdk_iot
ros_cdk_iot.DeviceGroupProps(
  group_name: typing.Union[str, IResolvable],
  group_desc: typing.Union[str, IResolvable] = None,
  iot_instance_id: typing.Union[str, IResolvable] = None,
  super_group_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
group_name typing.Union[str, ros_cdk_core.IResolvable] Property groupName: The name of the group.
group_desc typing.Union[str, ros_cdk_core.IResolvable] Property groupDesc: The description of the group.
iot_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property iotInstanceId: Public instance does not pass this parameter;
super_group_id typing.Union[str, ros_cdk_core.IResolvable] Property superGroupId: The ID of the parent group.

group_nameRequired

group_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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).


group_descOptional

group_desc: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property groupDesc: The description of the group.

You can enter a description with up to 100 characters.


iot_instance_idOptional

iot_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property iotInstanceId: Public instance does not pass this parameter;

instance that you need to buy the incoming instance ID.


super_group_idOptional

super_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.