forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
handshake.yml
69 lines (69 loc) · 1.68 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
ROSTemplateFormatVersion: '2015-09-01'
Description: ResourceManager Handshake resource example
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