forked from aliyun/ros-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
enterprise-multi-account-identity-permissions.yml
68 lines (68 loc) · 1.79 KB
/
enterprise-multi-account-identity-permissions.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
ROSTemplateFormatVersion: '2015-09-01'
Description:
en: Centralized management of enterprise multi-account identity permissions.
zh-cn: 企业多账号身份权限集中管理。
Parameters:
FolderName1:
Type: String
Label:
zh-cn: Core 资源目录名称
en: Resource directory folder name
AssociationProperty: AutoCompleteInput
AssociationPropertyMetadata:
Length: 5
Prefix: core-
CharacterClasses:
- Class: lowercase
FolderName2:
Type: String
Label:
zh-cn: Application 资源目录名称
en: Resource directory folder name
AssociationProperty: AutoCompleteInput
AssociationPropertyMetadata:
Length: 5
Prefix: application-
CharacterClasses:
- Class: lowercase
AccountDisplayName:
Type: String
Label:
zh-cn: Core文件夹下的账号名称
en: The account name under the Core folder
AssociationProperty: AutoCompleteInput
AssociationPropertyMetadata:
Length: 5
Prefix: sandbox-account-
CharacterClasses:
- Class: lowercase
Resources:
RDFolder1:
Type: ALIYUN::ResourceManager::Folder
Properties:
FolderName:
Ref: FolderName1
RDFolder2:
Type: ALIYUN::ResourceManager::Folder
Properties:
FolderName:
Ref: FolderName2
RDAccount1:
Type: ALIYUN::ResourceManager::Account
Properties:
DeleteAccount: true
DisplayName:
Ref: AccountDisplayName
FolderId:
Fn::GetAtt:
- RDFolder1
- FolderId
Metadata:
'ALIYUN::ROS::Interface':
ParameterGroups:
- Parameters:
- FolderName1
- FolderName2
- AccountDisplayName
TemplateTags:
- 'acs:technical-solution:account:企业多账号身份权限集中管理-tech_solu_67'