-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathproject-invitation.json
More file actions
77 lines (77 loc) · 1.73 KB
/
project-invitation.json
File metadata and controls
77 lines (77 loc) · 1.73 KB
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
74
75
76
77
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "This template creates a invitation at Atlas Organization level",
"Parameters": {
"Username": {
"Type": "String",
"Description": "Email address of the MongoDB Cloud user invited to join the organization."
},
"ProjectId": {
"Type": "String"
},
"Profile": {
"Type": "String",
"Description": "Your MongoDB Atlas Profile Name created in secret manager",
"Default": "default"
},
"Role": {
"Type": "String",
"Description": "Organization or project level roles to assign to the MongoDB Cloud user.",
"Default": "GROUP_READ_ONLY",
"AllowedValues": [
"GROUP_CLUSTER_MANAGER",
"GROUP_DATA_ACCESS_ADMIN",
"GROUP_DATA_ACCESS_READ_ONLY",
"GROUP_DATA_ACCESS_READ_WRITE",
"GROUP_OWNER",
"GROUP_READ_ONLY"
]
}
},
"Mappings": {},
"Resources": {
"ProjectInvitation": {
"Type": "MongoDB::Atlas::ProjectInvitation",
"Properties": {
"ProjectId": {
"Ref": "ProjectId"
},
"Profile": {
"Ref": "Profile"
},
"Username": {
"Ref": "Username"
},
"Roles": [
{
"Ref": "Role"
}
]
}
}
},
"Outputs": {
"InvitationId": {
"Description": "Id of the Invitation",
"Value": {
"Ref": "ProjectInvitation"
}
},
"InvitationExpiresAt": {
"Value": {
"Fn::GetAtt": [
"ProjectInvitation",
"ExpiresAt"
]
}
},
"InvitationCreatedAt": {
"Value": {
"Fn::GetAtt": [
"ProjectInvitation",
"CreatedAt"
]
}
}
}
}