-
Notifications
You must be signed in to change notification settings - Fork 35
/
handshake.yml
73 lines (73 loc) · 1.95 KB
/
handshake.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
ROSTemplateFormatVersion: '2015-09-01'
Description:
zh-cn: 创建ResourceManager握手资源,用于邀请账户或邮箱加入资源目录,输出握手详情及目录信息。
en: Create ResourceManager handshake resources for inviting accounts or email addresses
to join the resource directory, yielding details of the handshake and directory
information.
Parameters:
Note:
Type: String
Description: Remarks
TargetType:
Type: String
Description: 'Type of account being invited. Valid values: Account, Email'
Default: Account
AllowedValues:
- Account
- Email
TargetEntity:
Type: String
Description: Invited account ID or login email
Resources:
ResourceManagerHandshake:
Type: ALIYUN::ResourceManager::Handshake
Properties:
Note:
Ref: Note
TargetType:
Ref: TargetType
TargetEntity:
Ref: TargetEntity
Outputs:
ResourceDirectoryId:
Description: Resource directory ID
Value:
Fn::GetAtt:
- ResourceManagerHandshake
- ResourceDirectoryId
HandshakeId:
Description: This ID of Resource Manager handshake
Value:
Fn::GetAtt:
- ResourceManagerHandshake
- HandshakeId
Note:
Description: Remarks
Value:
Fn::GetAtt:
- ResourceManagerHandshake
- Note
MasterAccountName:
Description: The name of the main account of the resource directory
Value:
Fn::GetAtt:
- ResourceManagerHandshake
- MasterAccountName
TargetType:
Description: 'Type of account being invited. Valid values: Account, Email'
Value:
Fn::GetAtt:
- ResourceManagerHandshake
- TargetType
MasterAccountId:
Description: Resource account master account ID
Value:
Fn::GetAtt:
- ResourceManagerHandshake
- MasterAccountId
TargetEntity:
Description: Invited account ID or login email
Value:
Fn::GetAtt:
- ResourceManagerHandshake
- TargetEntity