forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
consumer-group.yml
38 lines (38 loc) · 1.11 KB
/
consumer-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
32
33
34
35
36
37
38
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建DTS订阅实例,配置消费组用户名、密码和名称,输出消费组ID、名称及订阅实例ID。
en: Create a DTS subscription instance, configure the consumer group username, password,
and name, and output the consumer group ID, name, and subscription instance ID.
Parameters:
ConsumerGroupPassword:
Type: String
Description: Password of consumer group.
ConsumerGroupUserName:
Type: String
Description: User name of consumer group.
ConsumerGroupName:
Type: String
Description: Consumer group name.
Resources:
SubscriptionInstance:
Type: ALIYUN::DTS::SubscriptionInstance
Properties: {}
Outputs:
ConsumerGroupID:
Description: Consumer group ID
Value:
Fn::GetAtt:
- ConsumerGroup
- ConsumerGroupID
ConsumerGroupName:
Description: Consumer group name
Value:
Fn::GetAtt:
- ConsumerGroup
- ConsumerGroupName
SubscriptionInstanceId:
Description: Subscription instance ID
Value:
Fn::GetAtt:
- ConsumerGroup
- SubscriptionInstanceId