forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device-group.yml
31 lines (31 loc) · 952 Bytes
/
device-group.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建物联网设备分组,命名规则限定,输出分组ID与实例ID。
en: Create IoT device groups with naming convention restrictions, outputting group
IDs and instance IDs.
Parameters:
GroupName:
Type: String
Description: 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).
Default: mytest
Resources:
DeviceGroup:
Type: ALIYUN::IOT::DeviceGroup
Properties:
GroupName:
Ref: GroupName
Outputs:
GroupId:
Description: Packet, ID, System for the globally unique identifier generated packet.
Value:
Fn::GetAtt:
- DeviceGroup
- GroupId
IotInstanceId:
Description: IOT instance ID.
Value:
Fn::GetAtt:
- DeviceGroup
- IotInstanceId