@pulumi/mongodbatlas 3.1.0-alpha.1637768803 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/README.md +1 -1
  2. package/alertConfiguration.d.ts +21 -21
  3. package/alertConfiguration.js +27 -26
  4. package/alertConfiguration.js.map +1 -1
  5. package/auditing.d.ts +9 -9
  6. package/auditing.js +13 -12
  7. package/auditing.js.map +1 -1
  8. package/cloudBackupSchedule.d.ts +23 -23
  9. package/cloudBackupSchedule.js +29 -28
  10. package/cloudBackupSchedule.js.map +1 -1
  11. package/cloudProviderAccess.d.ts +12 -12
  12. package/cloudProviderAccess.js +21 -20
  13. package/cloudProviderAccess.js.map +1 -1
  14. package/cloudProviderAccessAuthorization.d.ts +8 -8
  15. package/cloudProviderAccessAuthorization.js +13 -12
  16. package/cloudProviderAccessAuthorization.js.map +1 -1
  17. package/cloudProviderAccessSetup.d.ts +8 -8
  18. package/cloudProviderAccessSetup.js +15 -14
  19. package/cloudProviderAccessSetup.js.map +1 -1
  20. package/cloudProviderSnapshot.d.ts +32 -17
  21. package/cloudProviderSnapshot.js +34 -28
  22. package/cloudProviderSnapshot.js.map +1 -1
  23. package/cloudProviderSnapshotBackupPolicy.d.ts +16 -16
  24. package/cloudProviderSnapshotBackupPolicy.js +21 -20
  25. package/cloudProviderSnapshotBackupPolicy.js.map +1 -1
  26. package/cloudProviderSnapshotRestoreJob.d.ts +20 -18
  27. package/cloudProviderSnapshotRestoreJob.js +31 -28
  28. package/cloudProviderSnapshotRestoreJob.js.map +1 -1
  29. package/cluster.d.ts +75 -75
  30. package/cluster.js +87 -86
  31. package/cluster.js.map +1 -1
  32. package/config/index.js +11 -4
  33. package/config/index.js.map +1 -1
  34. package/config/vars.d.ts +4 -4
  35. package/config/vars.js +25 -17
  36. package/config/vars.js.map +1 -1
  37. package/customDbRole.d.ts +9 -9
  38. package/customDbRole.js +12 -11
  39. package/customDbRole.js.map +1 -1
  40. package/customDnsConfigurationClusterAws.d.ts +4 -4
  41. package/customDnsConfigurationClusterAws.js +7 -6
  42. package/customDnsConfigurationClusterAws.js.map +1 -1
  43. package/dataLake.d.ts +12 -12
  44. package/dataLake.js +19 -18
  45. package/dataLake.js.map +1 -1
  46. package/databaseUser.d.ts +22 -22
  47. package/databaseUser.js +25 -24
  48. package/databaseUser.js.map +1 -1
  49. package/encryptionAtRest.d.ts +14 -14
  50. package/encryptionAtRest.js +17 -16
  51. package/encryptionAtRest.js.map +1 -1
  52. package/eventTrigger.d.ts +39 -39
  53. package/eventTrigger.js +45 -44
  54. package/eventTrigger.js.map +1 -1
  55. package/get509AuthenticationDatabaseUser.d.ts +20 -6
  56. package/get509AuthenticationDatabaseUser.js +9 -4
  57. package/get509AuthenticationDatabaseUser.js.map +1 -1
  58. package/getAlertConfiguration.d.ts +16 -2
  59. package/getAlertConfiguration.js +5 -0
  60. package/getAlertConfiguration.js.map +1 -1
  61. package/getAuditing.d.ts +11 -1
  62. package/getAuditing.js +5 -0
  63. package/getAuditing.js.map +1 -1
  64. package/getCloudBackupSchedule.d.ts +16 -2
  65. package/getCloudBackupSchedule.js +5 -0
  66. package/getCloudBackupSchedule.js.map +1 -1
  67. package/getCloudProviderAccess.d.ts +14 -4
  68. package/getCloudProviderAccess.js +8 -3
  69. package/getCloudProviderAccess.js.map +1 -1
  70. package/getCloudProviderAccessSetup.d.ts +26 -8
  71. package/getCloudProviderAccessSetup.js +10 -5
  72. package/getCloudProviderAccessSetup.js.map +1 -1
  73. package/getCloudProviderSnapshot.d.ts +20 -3
  74. package/getCloudProviderSnapshot.js +7 -0
  75. package/getCloudProviderSnapshot.js.map +1 -1
  76. package/getCloudProviderSnapshotBackupPolicy.d.ts +16 -2
  77. package/getCloudProviderSnapshotBackupPolicy.js +5 -0
  78. package/getCloudProviderSnapshotBackupPolicy.js.map +1 -1
  79. package/getCloudProviderSnapshotRestoreJob.d.ts +23 -3
  80. package/getCloudProviderSnapshotRestoreJob.js +7 -0
  81. package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
  82. package/getCloudProviderSnapshotRestoreJobs.d.ts +29 -5
  83. package/getCloudProviderSnapshotRestoreJobs.js +8 -1
  84. package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
  85. package/getCloudProviderSnapshots.d.ts +45 -4
  86. package/getCloudProviderSnapshots.js +27 -0
  87. package/getCloudProviderSnapshots.js.map +1 -1
  88. package/getCluster.d.ts +16 -2
  89. package/getCluster.js +5 -0
  90. package/getCluster.js.map +1 -1
  91. package/getClusters.d.ts +14 -4
  92. package/getClusters.js +8 -3
  93. package/getClusters.js.map +1 -1
  94. package/getCustomDbRole.d.ts +22 -7
  95. package/getCustomDbRole.js +9 -4
  96. package/getCustomDbRole.js.map +1 -1
  97. package/getCustomDbRoles.d.ts +11 -1
  98. package/getCustomDbRoles.js +5 -0
  99. package/getCustomDbRoles.js.map +1 -1
  100. package/getCustomDnsConfigurationClusterAws.d.ts +11 -1
  101. package/getCustomDnsConfigurationClusterAws.js +5 -0
  102. package/getCustomDnsConfigurationClusterAws.js.map +1 -1
  103. package/getDataLake.d.ts +16 -2
  104. package/getDataLake.js +5 -0
  105. package/getDataLake.js.map +1 -1
  106. package/getDataLakes.d.ts +12 -2
  107. package/getDataLakes.js +6 -1
  108. package/getDataLakes.js.map +1 -1
  109. package/getDatabaseUser.d.ts +28 -4
  110. package/getDatabaseUser.js +5 -0
  111. package/getDatabaseUser.js.map +1 -1
  112. package/getDatabaseUsers.d.ts +14 -4
  113. package/getDatabaseUsers.js +8 -3
  114. package/getDatabaseUsers.js.map +1 -1
  115. package/getEventTrigger.d.ts +21 -3
  116. package/getEventTrigger.js +5 -0
  117. package/getEventTrigger.js.map +1 -1
  118. package/getEventTriggers.d.ts +16 -2
  119. package/getEventTriggers.js +5 -0
  120. package/getEventTriggers.js.map +1 -1
  121. package/getGlobalClusterConfig.d.ts +19 -3
  122. package/getGlobalClusterConfig.js +5 -0
  123. package/getGlobalClusterConfig.js.map +1 -1
  124. package/getLdapConfiguration.d.ts +11 -1
  125. package/getLdapConfiguration.js +5 -0
  126. package/getLdapConfiguration.js.map +1 -1
  127. package/getLdapVerify.d.ts +16 -2
  128. package/getLdapVerify.js +5 -0
  129. package/getLdapVerify.js.map +1 -1
  130. package/getMaintenanceWindow.d.ts +11 -1
  131. package/getMaintenanceWindow.js +5 -0
  132. package/getMaintenanceWindow.js.map +1 -1
  133. package/getNetworkContainer.d.ts +16 -2
  134. package/getNetworkContainer.js +5 -0
  135. package/getNetworkContainer.js.map +1 -1
  136. package/getNetworkContainers.d.ts +17 -3
  137. package/getNetworkContainers.js +6 -1
  138. package/getNetworkContainers.js.map +1 -1
  139. package/getNetworkPeering.d.ts +16 -2
  140. package/getNetworkPeering.js +5 -0
  141. package/getNetworkPeering.js.map +1 -1
  142. package/getNetworkPeerings.d.ts +14 -4
  143. package/getNetworkPeerings.js +8 -3
  144. package/getNetworkPeerings.js.map +1 -1
  145. package/getOnlineArchive.d.ts +21 -3
  146. package/getOnlineArchive.js +5 -0
  147. package/getOnlineArchive.js.map +1 -1
  148. package/getOnlineArchives.d.ts +16 -2
  149. package/getOnlineArchives.js +5 -0
  150. package/getOnlineArchives.js.map +1 -1
  151. package/getPrivateLinkEndpoint.d.ts +35 -5
  152. package/getPrivateLinkEndpoint.js +5 -0
  153. package/getPrivateLinkEndpoint.js.map +1 -1
  154. package/getPrivateLinkEndpointService.d.ts +36 -4
  155. package/getPrivateLinkEndpointService.js +5 -0
  156. package/getPrivateLinkEndpointService.js.map +1 -1
  157. package/getProject.d.ts +17 -3
  158. package/getProject.js +6 -1
  159. package/getProject.js.map +1 -1
  160. package/getProjectIpAccessList.d.ts +26 -4
  161. package/getProjectIpAccessList.js +5 -0
  162. package/getProjectIpAccessList.js.map +1 -1
  163. package/getProjects.d.ts +17 -3
  164. package/getProjects.js +6 -1
  165. package/getProjects.js.map +1 -1
  166. package/getSearchIndex.d.ts +76 -17
  167. package/getSearchIndex.js +6 -1
  168. package/getSearchIndex.js.map +1 -1
  169. package/getSearchIndexes.d.ts +37 -7
  170. package/getSearchIndexes.js +6 -1
  171. package/getSearchIndexes.js.map +1 -1
  172. package/getTeam.d.ts +21 -3
  173. package/getTeam.js +5 -0
  174. package/getTeam.js.map +1 -1
  175. package/getTeams.d.ts +12 -3
  176. package/getTeams.js +5 -0
  177. package/getTeams.js.map +1 -1
  178. package/getThirdPartyIntegration.d.ts +41 -2
  179. package/getThirdPartyIntegration.js +23 -0
  180. package/getThirdPartyIntegration.js.map +1 -1
  181. package/getThirdPartyIntegrations.d.ts +34 -1
  182. package/getThirdPartyIntegrations.js +28 -0
  183. package/getThirdPartyIntegrations.js.map +1 -1
  184. package/globalClusterConfig.d.ts +9 -9
  185. package/globalClusterConfig.js +13 -12
  186. package/globalClusterConfig.js.map +1 -1
  187. package/index.js +88 -80
  188. package/index.js.map +1 -1
  189. package/ldapConfiguration.d.ts +20 -20
  190. package/ldapConfiguration.js +23 -22
  191. package/ldapConfiguration.js.map +1 -1
  192. package/ldapVerify.d.ts +18 -18
  193. package/ldapVerify.js +25 -24
  194. package/ldapVerify.js.map +1 -1
  195. package/maintenanceWindow.d.ts +15 -15
  196. package/maintenanceWindow.js +19 -18
  197. package/maintenanceWindow.js.map +1 -1
  198. package/networkContainer.d.ts +19 -19
  199. package/networkContainer.js +29 -28
  200. package/networkContainer.js.map +1 -1
  201. package/networkPeering.d.ts +40 -40
  202. package/networkPeering.js +51 -50
  203. package/networkPeering.js.map +1 -1
  204. package/onlineArchive.d.ts +18 -18
  205. package/onlineArchive.js +23 -22
  206. package/onlineArchive.js.map +1 -1
  207. package/package.json +4 -3
  208. package/package.json.bak +3 -2
  209. package/package.json.dev +4 -3
  210. package/privateIpMode.d.ts +4 -4
  211. package/privateIpMode.js +7 -6
  212. package/privateIpMode.js.map +1 -1
  213. package/privateLinkEndpoint.d.ts +50 -26
  214. package/privateLinkEndpoint.js +31 -24
  215. package/privateLinkEndpoint.js.map +1 -1
  216. package/privateLinkEndpointService.d.ts +162 -23
  217. package/privateLinkEndpointService.js +131 -26
  218. package/privateLinkEndpointService.js.map +1 -1
  219. package/project.d.ts +22 -10
  220. package/project.js +17 -14
  221. package/project.js.map +1 -1
  222. package/projectIpAccessList.d.ts +10 -10
  223. package/projectIpAccessList.js +13 -12
  224. package/projectIpAccessList.js.map +1 -1
  225. package/provider.d.ts +20 -4
  226. package/provider.js +7 -6
  227. package/provider.js.map +1 -1
  228. package/searchIndex.d.ts +129 -38
  229. package/searchIndex.js +98 -26
  230. package/searchIndex.js.map +1 -1
  231. package/team.d.ts +7 -7
  232. package/team.js +11 -10
  233. package/team.js.map +1 -1
  234. package/teams.d.ts +7 -7
  235. package/teams.js +11 -10
  236. package/teams.js.map +1 -1
  237. package/thirdPartyIntegration.d.ts +34 -34
  238. package/thirdPartyIntegration.js +37 -36
  239. package/thirdPartyIntegration.js.map +1 -1
  240. package/types/index.js +1 -0
  241. package/types/index.js.map +1 -1
  242. package/types/input.d.ts +67 -0
  243. package/types/output.d.ts +85 -0
  244. package/utilities.js +1 -0
  245. package/utilities.js.map +1 -1
  246. package/x509authenticationDatabaseUser.d.ts +10 -10
  247. package/x509authenticationDatabaseUser.js +15 -14
  248. package/x509authenticationDatabaseUser.js.map +1 -1
package/databaseUser.d.ts CHANGED
@@ -80,40 +80,40 @@ export interface DatabaseUserState {
80
80
  * Database against which Atlas authenticates the user. A user must provide both a username and authentication database to log into MongoDB.
81
81
  * Accepted values include:
82
82
  */
83
- readonly authDatabaseName?: pulumi.Input<string>;
83
+ authDatabaseName?: pulumi.Input<string>;
84
84
  /**
85
85
  * If this value is set, the new database user authenticates with AWS IAM credentials. If no value is given, Atlas uses the default value of NONE. The accepted types are:
86
86
  */
87
- readonly awsIamType?: pulumi.Input<string>;
87
+ awsIamType?: pulumi.Input<string>;
88
88
  /**
89
89
  * Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
90
90
  *
91
91
  * @deprecated use auth_database_name instead
92
92
  */
93
- readonly databaseName?: pulumi.Input<string>;
94
- readonly labels?: pulumi.Input<pulumi.Input<inputs.DatabaseUserLabel>[]>;
93
+ databaseName?: pulumi.Input<string>;
94
+ labels?: pulumi.Input<pulumi.Input<inputs.DatabaseUserLabel>[]>;
95
95
  /**
96
96
  * Method by which the provided `username` is authenticated. If no value is given, Atlas uses the default value of `NONE`.
97
97
  */
98
- readonly ldapAuthType?: pulumi.Input<string>;
99
- readonly password?: pulumi.Input<string>;
98
+ ldapAuthType?: pulumi.Input<string>;
99
+ password?: pulumi.Input<string>;
100
100
  /**
101
101
  * The unique ID for the project to create the database user.
102
102
  */
103
- readonly projectId?: pulumi.Input<string>;
103
+ projectId?: pulumi.Input<string>;
104
104
  /**
105
105
  * List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
106
106
  */
107
- readonly roles?: pulumi.Input<pulumi.Input<inputs.DatabaseUserRole>[]>;
108
- readonly scopes?: pulumi.Input<pulumi.Input<inputs.DatabaseUserScope>[]>;
107
+ roles?: pulumi.Input<pulumi.Input<inputs.DatabaseUserRole>[]>;
108
+ scopes?: pulumi.Input<pulumi.Input<inputs.DatabaseUserScope>[]>;
109
109
  /**
110
110
  * Username for authenticating to MongoDB. USER_ARN or ROLE_ARN if `awsIamType` is USER or ROLE.
111
111
  */
112
- readonly username?: pulumi.Input<string>;
112
+ username?: pulumi.Input<string>;
113
113
  /**
114
114
  * X.509 method by which the provided username is authenticated. If no value is given, Atlas uses the default value of NONE. The accepted types are:
115
115
  */
116
- readonly x509Type?: pulumi.Input<string>;
116
+ x509Type?: pulumi.Input<string>;
117
117
  }
118
118
  /**
119
119
  * The set of arguments for constructing a DatabaseUser resource.
@@ -123,38 +123,38 @@ export interface DatabaseUserArgs {
123
123
  * Database against which Atlas authenticates the user. A user must provide both a username and authentication database to log into MongoDB.
124
124
  * Accepted values include:
125
125
  */
126
- readonly authDatabaseName?: pulumi.Input<string>;
126
+ authDatabaseName?: pulumi.Input<string>;
127
127
  /**
128
128
  * If this value is set, the new database user authenticates with AWS IAM credentials. If no value is given, Atlas uses the default value of NONE. The accepted types are:
129
129
  */
130
- readonly awsIamType?: pulumi.Input<string>;
130
+ awsIamType?: pulumi.Input<string>;
131
131
  /**
132
132
  * Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
133
133
  *
134
134
  * @deprecated use auth_database_name instead
135
135
  */
136
- readonly databaseName?: pulumi.Input<string>;
137
- readonly labels?: pulumi.Input<pulumi.Input<inputs.DatabaseUserLabel>[]>;
136
+ databaseName?: pulumi.Input<string>;
137
+ labels?: pulumi.Input<pulumi.Input<inputs.DatabaseUserLabel>[]>;
138
138
  /**
139
139
  * Method by which the provided `username` is authenticated. If no value is given, Atlas uses the default value of `NONE`.
140
140
  */
141
- readonly ldapAuthType?: pulumi.Input<string>;
142
- readonly password?: pulumi.Input<string>;
141
+ ldapAuthType?: pulumi.Input<string>;
142
+ password?: pulumi.Input<string>;
143
143
  /**
144
144
  * The unique ID for the project to create the database user.
145
145
  */
146
- readonly projectId: pulumi.Input<string>;
146
+ projectId: pulumi.Input<string>;
147
147
  /**
148
148
  * List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
149
149
  */
150
- readonly roles: pulumi.Input<pulumi.Input<inputs.DatabaseUserRole>[]>;
151
- readonly scopes?: pulumi.Input<pulumi.Input<inputs.DatabaseUserScope>[]>;
150
+ roles: pulumi.Input<pulumi.Input<inputs.DatabaseUserRole>[]>;
151
+ scopes?: pulumi.Input<pulumi.Input<inputs.DatabaseUserScope>[]>;
152
152
  /**
153
153
  * Username for authenticating to MongoDB. USER_ARN or ROLE_ARN if `awsIamType` is USER or ROLE.
154
154
  */
155
- readonly username: pulumi.Input<string>;
155
+ username: pulumi.Input<string>;
156
156
  /**
157
157
  * X.509 method by which the provided username is authenticated. If no value is given, Atlas uses the default value of NONE. The accepted types are:
158
158
  */
159
- readonly x509Type?: pulumi.Input<string>;
159
+ x509Type?: pulumi.Input<string>;
160
160
  }
package/databaseUser.js CHANGED
@@ -2,6 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DatabaseUser = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  /**
@@ -15,21 +16,21 @@ const utilities = require("./utilities");
15
16
  */
16
17
  class DatabaseUser extends pulumi.CustomResource {
17
18
  constructor(name, argsOrState, opts) {
18
- let inputs = {};
19
+ let resourceInputs = {};
19
20
  opts = opts || {};
20
21
  if (opts.id) {
21
22
  const state = argsOrState;
22
- inputs["authDatabaseName"] = state ? state.authDatabaseName : undefined;
23
- inputs["awsIamType"] = state ? state.awsIamType : undefined;
24
- inputs["databaseName"] = state ? state.databaseName : undefined;
25
- inputs["labels"] = state ? state.labels : undefined;
26
- inputs["ldapAuthType"] = state ? state.ldapAuthType : undefined;
27
- inputs["password"] = state ? state.password : undefined;
28
- inputs["projectId"] = state ? state.projectId : undefined;
29
- inputs["roles"] = state ? state.roles : undefined;
30
- inputs["scopes"] = state ? state.scopes : undefined;
31
- inputs["username"] = state ? state.username : undefined;
32
- inputs["x509Type"] = state ? state.x509Type : undefined;
23
+ resourceInputs["authDatabaseName"] = state ? state.authDatabaseName : undefined;
24
+ resourceInputs["awsIamType"] = state ? state.awsIamType : undefined;
25
+ resourceInputs["databaseName"] = state ? state.databaseName : undefined;
26
+ resourceInputs["labels"] = state ? state.labels : undefined;
27
+ resourceInputs["ldapAuthType"] = state ? state.ldapAuthType : undefined;
28
+ resourceInputs["password"] = state ? state.password : undefined;
29
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
30
+ resourceInputs["roles"] = state ? state.roles : undefined;
31
+ resourceInputs["scopes"] = state ? state.scopes : undefined;
32
+ resourceInputs["username"] = state ? state.username : undefined;
33
+ resourceInputs["x509Type"] = state ? state.x509Type : undefined;
33
34
  }
34
35
  else {
35
36
  const args = argsOrState;
@@ -42,22 +43,22 @@ class DatabaseUser extends pulumi.CustomResource {
42
43
  if ((!args || args.username === undefined) && !opts.urn) {
43
44
  throw new Error("Missing required property 'username'");
44
45
  }
45
- inputs["authDatabaseName"] = args ? args.authDatabaseName : undefined;
46
- inputs["awsIamType"] = args ? args.awsIamType : undefined;
47
- inputs["databaseName"] = args ? args.databaseName : undefined;
48
- inputs["labels"] = args ? args.labels : undefined;
49
- inputs["ldapAuthType"] = args ? args.ldapAuthType : undefined;
50
- inputs["password"] = args ? args.password : undefined;
51
- inputs["projectId"] = args ? args.projectId : undefined;
52
- inputs["roles"] = args ? args.roles : undefined;
53
- inputs["scopes"] = args ? args.scopes : undefined;
54
- inputs["username"] = args ? args.username : undefined;
55
- inputs["x509Type"] = args ? args.x509Type : undefined;
46
+ resourceInputs["authDatabaseName"] = args ? args.authDatabaseName : undefined;
47
+ resourceInputs["awsIamType"] = args ? args.awsIamType : undefined;
48
+ resourceInputs["databaseName"] = args ? args.databaseName : undefined;
49
+ resourceInputs["labels"] = args ? args.labels : undefined;
50
+ resourceInputs["ldapAuthType"] = args ? args.ldapAuthType : undefined;
51
+ resourceInputs["password"] = args ? args.password : undefined;
52
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
53
+ resourceInputs["roles"] = args ? args.roles : undefined;
54
+ resourceInputs["scopes"] = args ? args.scopes : undefined;
55
+ resourceInputs["username"] = args ? args.username : undefined;
56
+ resourceInputs["x509Type"] = args ? args.x509Type : undefined;
56
57
  }
57
58
  if (!opts.version) {
58
59
  opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
59
60
  }
60
- super(DatabaseUser.__pulumiType, name, inputs, opts);
61
+ super(DatabaseUser.__pulumiType, name, resourceInputs, opts);
61
62
  }
62
63
  /**
63
64
  * Get an existing DatabaseUser resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"databaseUser.js","sourceRoot":"","sources":["../databaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA2EnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,OAAO,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AC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IArHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAuHC;AAzGG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
@@ -65,32 +65,32 @@ export interface EncryptionAtRestState {
65
65
  *
66
66
  * @deprecated use aws_kms_config instead
67
67
  */
68
- readonly awsKms?: pulumi.Input<{
68
+ awsKms?: pulumi.Input<{
69
69
  [key: string]: pulumi.Input<string>;
70
70
  }>;
71
- readonly awsKmsConfig?: pulumi.Input<inputs.EncryptionAtRestAwsKmsConfig>;
71
+ awsKmsConfig?: pulumi.Input<inputs.EncryptionAtRestAwsKmsConfig>;
72
72
  /**
73
73
  * Specifies Azure Key Vault configuration details and whether Encryption at Rest is enabled for an Atlas project.
74
74
  *
75
75
  * @deprecated use azure_key_vault_config instead
76
76
  */
77
- readonly azureKeyVault?: pulumi.Input<{
77
+ azureKeyVault?: pulumi.Input<{
78
78
  [key: string]: pulumi.Input<string>;
79
79
  }>;
80
- readonly azureKeyVaultConfig?: pulumi.Input<inputs.EncryptionAtRestAzureKeyVaultConfig>;
80
+ azureKeyVaultConfig?: pulumi.Input<inputs.EncryptionAtRestAzureKeyVaultConfig>;
81
81
  /**
82
82
  * Specifies GCP KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
83
83
  *
84
84
  * @deprecated use google_cloud_kms_config instead
85
85
  */
86
- readonly googleCloudKms?: pulumi.Input<{
86
+ googleCloudKms?: pulumi.Input<{
87
87
  [key: string]: pulumi.Input<string>;
88
88
  }>;
89
- readonly googleCloudKmsConfig?: pulumi.Input<inputs.EncryptionAtRestGoogleCloudKmsConfig>;
89
+ googleCloudKmsConfig?: pulumi.Input<inputs.EncryptionAtRestGoogleCloudKmsConfig>;
90
90
  /**
91
91
  * The unique identifier for the project.
92
92
  */
93
- readonly projectId?: pulumi.Input<string>;
93
+ projectId?: pulumi.Input<string>;
94
94
  }
95
95
  /**
96
96
  * The set of arguments for constructing a EncryptionAtRest resource.
@@ -101,30 +101,30 @@ export interface EncryptionAtRestArgs {
101
101
  *
102
102
  * @deprecated use aws_kms_config instead
103
103
  */
104
- readonly awsKms?: pulumi.Input<{
104
+ awsKms?: pulumi.Input<{
105
105
  [key: string]: pulumi.Input<string>;
106
106
  }>;
107
- readonly awsKmsConfig?: pulumi.Input<inputs.EncryptionAtRestAwsKmsConfig>;
107
+ awsKmsConfig?: pulumi.Input<inputs.EncryptionAtRestAwsKmsConfig>;
108
108
  /**
109
109
  * Specifies Azure Key Vault configuration details and whether Encryption at Rest is enabled for an Atlas project.
110
110
  *
111
111
  * @deprecated use azure_key_vault_config instead
112
112
  */
113
- readonly azureKeyVault?: pulumi.Input<{
113
+ azureKeyVault?: pulumi.Input<{
114
114
  [key: string]: pulumi.Input<string>;
115
115
  }>;
116
- readonly azureKeyVaultConfig?: pulumi.Input<inputs.EncryptionAtRestAzureKeyVaultConfig>;
116
+ azureKeyVaultConfig?: pulumi.Input<inputs.EncryptionAtRestAzureKeyVaultConfig>;
117
117
  /**
118
118
  * Specifies GCP KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
119
119
  *
120
120
  * @deprecated use google_cloud_kms_config instead
121
121
  */
122
- readonly googleCloudKms?: pulumi.Input<{
122
+ googleCloudKms?: pulumi.Input<{
123
123
  [key: string]: pulumi.Input<string>;
124
124
  }>;
125
- readonly googleCloudKmsConfig?: pulumi.Input<inputs.EncryptionAtRestGoogleCloudKmsConfig>;
125
+ googleCloudKmsConfig?: pulumi.Input<inputs.EncryptionAtRestGoogleCloudKmsConfig>;
126
126
  /**
127
127
  * The unique identifier for the project.
128
128
  */
129
- readonly projectId: pulumi.Input<string>;
129
+ projectId: pulumi.Input<string>;
130
130
  }
@@ -2,39 +2,40 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.EncryptionAtRest = void 0;
5
6
  const pulumi = require("@pulumi/pulumi");
6
7
  const utilities = require("./utilities");
7
8
  class EncryptionAtRest extends pulumi.CustomResource {
8
9
  constructor(name, argsOrState, opts) {
9
- let inputs = {};
10
+ let resourceInputs = {};
10
11
  opts = opts || {};
11
12
  if (opts.id) {
12
13
  const state = argsOrState;
13
- inputs["awsKms"] = state ? state.awsKms : undefined;
14
- inputs["awsKmsConfig"] = state ? state.awsKmsConfig : undefined;
15
- inputs["azureKeyVault"] = state ? state.azureKeyVault : undefined;
16
- inputs["azureKeyVaultConfig"] = state ? state.azureKeyVaultConfig : undefined;
17
- inputs["googleCloudKms"] = state ? state.googleCloudKms : undefined;
18
- inputs["googleCloudKmsConfig"] = state ? state.googleCloudKmsConfig : undefined;
19
- inputs["projectId"] = state ? state.projectId : undefined;
14
+ resourceInputs["awsKms"] = state ? state.awsKms : undefined;
15
+ resourceInputs["awsKmsConfig"] = state ? state.awsKmsConfig : undefined;
16
+ resourceInputs["azureKeyVault"] = state ? state.azureKeyVault : undefined;
17
+ resourceInputs["azureKeyVaultConfig"] = state ? state.azureKeyVaultConfig : undefined;
18
+ resourceInputs["googleCloudKms"] = state ? state.googleCloudKms : undefined;
19
+ resourceInputs["googleCloudKmsConfig"] = state ? state.googleCloudKmsConfig : undefined;
20
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
20
21
  }
21
22
  else {
22
23
  const args = argsOrState;
23
24
  if ((!args || args.projectId === undefined) && !opts.urn) {
24
25
  throw new Error("Missing required property 'projectId'");
25
26
  }
26
- inputs["awsKms"] = args ? args.awsKms : undefined;
27
- inputs["awsKmsConfig"] = args ? args.awsKmsConfig : undefined;
28
- inputs["azureKeyVault"] = args ? args.azureKeyVault : undefined;
29
- inputs["azureKeyVaultConfig"] = args ? args.azureKeyVaultConfig : undefined;
30
- inputs["googleCloudKms"] = args ? args.googleCloudKms : undefined;
31
- inputs["googleCloudKmsConfig"] = args ? args.googleCloudKmsConfig : undefined;
32
- inputs["projectId"] = args ? args.projectId : undefined;
27
+ resourceInputs["awsKms"] = args ? args.awsKms : undefined;
28
+ resourceInputs["awsKmsConfig"] = args ? args.awsKmsConfig : undefined;
29
+ resourceInputs["azureKeyVault"] = args ? args.azureKeyVault : undefined;
30
+ resourceInputs["azureKeyVaultConfig"] = args ? args.azureKeyVaultConfig : undefined;
31
+ resourceInputs["googleCloudKms"] = args ? args.googleCloudKms : undefined;
32
+ resourceInputs["googleCloudKmsConfig"] = args ? args.googleCloudKmsConfig : undefined;
33
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
33
34
  }
34
35
  if (!opts.version) {
35
36
  opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
36
37
  }
37
- super(EncryptionAtRest.__pulumiType, name, inputs, opts);
38
+ super(EncryptionAtRest.__pulumiType, name, resourceInputs, opts);
38
39
  }
39
40
  /**
40
41
  * Get an existing EncryptionAtRest resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"encryptionAtRest.js","sourceRoot":"","sources":["../encryptionAtRest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA8DvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,C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C;YAC1E,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IA1FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA4FC;AA9EG,gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
package/eventTrigger.d.ts CHANGED
@@ -223,83 +223,83 @@ export interface EventTriggerState {
223
223
  /**
224
224
  * The ObjectID of your application.
225
225
  */
226
- readonly appId?: pulumi.Input<string>;
226
+ appId?: pulumi.Input<string>;
227
227
  /**
228
228
  * Required for `DATABASE` type. The name of the MongoDB collection that the trigger watches for change events. The collection must be part of the specified database.
229
229
  */
230
- readonly configCollection?: pulumi.Input<string>;
230
+ configCollection?: pulumi.Input<string>;
231
231
  /**
232
232
  * Required for `DATABASE` type. The name of the MongoDB database that contains the watched collection.
233
233
  */
234
- readonly configDatabase?: pulumi.Input<string>;
234
+ configDatabase?: pulumi.Input<string>;
235
235
  /**
236
236
  * Optional for `DATABASE` type. If true, indicates that `UPDATE` change events should include the most current [majority-committed](https://docs.mongodb.com/manual/reference/read-concern-majority/) version of the modified document in the fullDocument field.
237
237
  */
238
- readonly configFullDocument?: pulumi.Input<boolean>;
239
- readonly configFullDocumentBefore?: pulumi.Input<boolean>;
238
+ configFullDocument?: pulumi.Input<boolean>;
239
+ configFullDocumentBefore?: pulumi.Input<boolean>;
240
240
  /**
241
241
  * Optional for `DATABASE` type. A [$match](https://docs.mongodb.com/manual/reference/operator/aggregation/match/) expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger. This is useful when you want to filter change events beyond their operation type. The trigger will only fire if the expression evaluates to true for a given change event.
242
242
  */
243
- readonly configMatch?: pulumi.Input<string>;
243
+ configMatch?: pulumi.Input<string>;
244
244
  /**
245
245
  * Required for `AUTHENTICATION` type. The [authentication operation type](https://docs.mongodb.com/realm/triggers/authentication-triggers/#std-label-authentication-event-operation-types) to listen for. Possible Values: `LOGIN`, `CREATE`, `DELETE`
246
246
  */
247
- readonly configOperationType?: pulumi.Input<string>;
247
+ configOperationType?: pulumi.Input<string>;
248
248
  /**
249
249
  * Required for `DATABASE` type. The [database event operation types](https://docs.mongodb.com/realm/triggers/database-triggers/#std-label-database-events) to listen for. This must contain at least one value. Possible Values: `INSERT`, `UPDATE`, `REPLACE`, `DELETE`
250
250
  */
251
- readonly configOperationTypes?: pulumi.Input<pulumi.Input<string>[]>;
251
+ configOperationTypes?: pulumi.Input<pulumi.Input<string>[]>;
252
252
  /**
253
253
  * Optional for `DATABASE` type. A [$project](https://docs.mongodb.com/manual/reference/operator/aggregation/project/) expression document that Realm uses to filter the fields that appear in change event objects.
254
254
  */
255
- readonly configProject?: pulumi.Input<string>;
255
+ configProject?: pulumi.Input<string>;
256
256
  /**
257
257
  * Required for `AUTHENTICATION` type. A list of one or more [authentication provider](https://docs.mongodb.com/realm/authentication/providers/) id values. The trigger will only listen for authentication events produced by these providers.
258
258
  */
259
- readonly configProviders?: pulumi.Input<pulumi.Input<string>[]>;
259
+ configProviders?: pulumi.Input<pulumi.Input<string>[]>;
260
260
  /**
261
261
  * Required for `SCHEDULED` type. A [cron expression](https://docs.mongodb.com/realm/triggers/cron-expressions/) that defines the trigger schedule.
262
262
  */
263
- readonly configSchedule?: pulumi.Input<string>;
264
- readonly configScheduleType?: pulumi.Input<string>;
263
+ configSchedule?: pulumi.Input<string>;
264
+ configScheduleType?: pulumi.Input<string>;
265
265
  /**
266
266
  * Required for `DATABASE` type. The ID of the MongoDB Service associated with the trigger.
267
267
  */
268
- readonly configServiceId?: pulumi.Input<string>;
268
+ configServiceId?: pulumi.Input<string>;
269
269
  /**
270
270
  * Default: `false` If `true`, the trigger is disabled.
271
271
  */
272
- readonly disabled?: pulumi.Input<boolean>;
272
+ disabled?: pulumi.Input<boolean>;
273
273
  /**
274
274
  * An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor. The following event processors are supported: `AWS_EVENTBRIDGE` For an example configuration object, see [Send Trigger Events to AWS EventBridge](https://docs.mongodb.com/realm/triggers/eventbridge/#std-label-event_processor_example).
275
275
  * * `event_processors.0.aws_eventbridge.config_account_id` - (Optional) AWS Account ID.
276
276
  * * `event_processors.0.aws_eventbridge.config_region` - (Optional) Region of AWS Account.
277
277
  */
278
- readonly eventProcessors?: pulumi.Input<inputs.EventTriggerEventProcessors>;
278
+ eventProcessors?: pulumi.Input<inputs.EventTriggerEventProcessors>;
279
279
  /**
280
280
  * The ID of the function associated with the trigger.
281
281
  */
282
- readonly functionId?: pulumi.Input<string>;
282
+ functionId?: pulumi.Input<string>;
283
283
  /**
284
284
  * The name of the function associated with the trigger.
285
285
  */
286
- readonly functionName?: pulumi.Input<string>;
286
+ functionName?: pulumi.Input<string>;
287
287
  /**
288
288
  * The name of the trigger.
289
289
  */
290
- readonly name?: pulumi.Input<string>;
290
+ name?: pulumi.Input<string>;
291
291
  /**
292
292
  * The unique ID for the project to create the trigger.
293
293
  */
294
- readonly projectId?: pulumi.Input<string>;
294
+ projectId?: pulumi.Input<string>;
295
295
  /**
296
296
  * The unique ID of the trigger.
297
297
  */
298
- readonly triggerId?: pulumi.Input<string>;
298
+ triggerId?: pulumi.Input<string>;
299
299
  /**
300
300
  * The type of the trigger. Possible Values: `DATABASE`, `AUTHENTICATION`,`SCHEDULED`
301
301
  */
302
- readonly type?: pulumi.Input<string>;
302
+ type?: pulumi.Input<string>;
303
303
  }
304
304
  /**
305
305
  * The set of arguments for constructing a EventTrigger resource.
@@ -308,72 +308,72 @@ export interface EventTriggerArgs {
308
308
  /**
309
309
  * The ObjectID of your application.
310
310
  */
311
- readonly appId: pulumi.Input<string>;
311
+ appId: pulumi.Input<string>;
312
312
  /**
313
313
  * Required for `DATABASE` type. The name of the MongoDB collection that the trigger watches for change events. The collection must be part of the specified database.
314
314
  */
315
- readonly configCollection?: pulumi.Input<string>;
315
+ configCollection?: pulumi.Input<string>;
316
316
  /**
317
317
  * Required for `DATABASE` type. The name of the MongoDB database that contains the watched collection.
318
318
  */
319
- readonly configDatabase?: pulumi.Input<string>;
319
+ configDatabase?: pulumi.Input<string>;
320
320
  /**
321
321
  * Optional for `DATABASE` type. If true, indicates that `UPDATE` change events should include the most current [majority-committed](https://docs.mongodb.com/manual/reference/read-concern-majority/) version of the modified document in the fullDocument field.
322
322
  */
323
- readonly configFullDocument?: pulumi.Input<boolean>;
324
- readonly configFullDocumentBefore?: pulumi.Input<boolean>;
323
+ configFullDocument?: pulumi.Input<boolean>;
324
+ configFullDocumentBefore?: pulumi.Input<boolean>;
325
325
  /**
326
326
  * Optional for `DATABASE` type. A [$match](https://docs.mongodb.com/manual/reference/operator/aggregation/match/) expression document that MongoDB Realm includes in the underlying change stream pipeline for the trigger. This is useful when you want to filter change events beyond their operation type. The trigger will only fire if the expression evaluates to true for a given change event.
327
327
  */
328
- readonly configMatch?: pulumi.Input<string>;
328
+ configMatch?: pulumi.Input<string>;
329
329
  /**
330
330
  * Required for `AUTHENTICATION` type. The [authentication operation type](https://docs.mongodb.com/realm/triggers/authentication-triggers/#std-label-authentication-event-operation-types) to listen for. Possible Values: `LOGIN`, `CREATE`, `DELETE`
331
331
  */
332
- readonly configOperationType?: pulumi.Input<string>;
332
+ configOperationType?: pulumi.Input<string>;
333
333
  /**
334
334
  * Required for `DATABASE` type. The [database event operation types](https://docs.mongodb.com/realm/triggers/database-triggers/#std-label-database-events) to listen for. This must contain at least one value. Possible Values: `INSERT`, `UPDATE`, `REPLACE`, `DELETE`
335
335
  */
336
- readonly configOperationTypes?: pulumi.Input<pulumi.Input<string>[]>;
336
+ configOperationTypes?: pulumi.Input<pulumi.Input<string>[]>;
337
337
  /**
338
338
  * Optional for `DATABASE` type. A [$project](https://docs.mongodb.com/manual/reference/operator/aggregation/project/) expression document that Realm uses to filter the fields that appear in change event objects.
339
339
  */
340
- readonly configProject?: pulumi.Input<string>;
340
+ configProject?: pulumi.Input<string>;
341
341
  /**
342
342
  * Required for `AUTHENTICATION` type. A list of one or more [authentication provider](https://docs.mongodb.com/realm/authentication/providers/) id values. The trigger will only listen for authentication events produced by these providers.
343
343
  */
344
- readonly configProviders?: pulumi.Input<pulumi.Input<string>[]>;
344
+ configProviders?: pulumi.Input<pulumi.Input<string>[]>;
345
345
  /**
346
346
  * Required for `SCHEDULED` type. A [cron expression](https://docs.mongodb.com/realm/triggers/cron-expressions/) that defines the trigger schedule.
347
347
  */
348
- readonly configSchedule?: pulumi.Input<string>;
348
+ configSchedule?: pulumi.Input<string>;
349
349
  /**
350
350
  * Required for `DATABASE` type. The ID of the MongoDB Service associated with the trigger.
351
351
  */
352
- readonly configServiceId?: pulumi.Input<string>;
352
+ configServiceId?: pulumi.Input<string>;
353
353
  /**
354
354
  * Default: `false` If `true`, the trigger is disabled.
355
355
  */
356
- readonly disabled?: pulumi.Input<boolean>;
356
+ disabled?: pulumi.Input<boolean>;
357
357
  /**
358
358
  * An object where each field name is an event processor ID and each value is an object that configures its corresponding event processor. The following event processors are supported: `AWS_EVENTBRIDGE` For an example configuration object, see [Send Trigger Events to AWS EventBridge](https://docs.mongodb.com/realm/triggers/eventbridge/#std-label-event_processor_example).
359
359
  * * `event_processors.0.aws_eventbridge.config_account_id` - (Optional) AWS Account ID.
360
360
  * * `event_processors.0.aws_eventbridge.config_region` - (Optional) Region of AWS Account.
361
361
  */
362
- readonly eventProcessors?: pulumi.Input<inputs.EventTriggerEventProcessors>;
362
+ eventProcessors?: pulumi.Input<inputs.EventTriggerEventProcessors>;
363
363
  /**
364
364
  * The ID of the function associated with the trigger.
365
365
  */
366
- readonly functionId?: pulumi.Input<string>;
366
+ functionId?: pulumi.Input<string>;
367
367
  /**
368
368
  * The name of the trigger.
369
369
  */
370
- readonly name?: pulumi.Input<string>;
370
+ name?: pulumi.Input<string>;
371
371
  /**
372
372
  * The unique ID for the project to create the trigger.
373
373
  */
374
- readonly projectId: pulumi.Input<string>;
374
+ projectId: pulumi.Input<string>;
375
375
  /**
376
376
  * The type of the trigger. Possible Values: `DATABASE`, `AUTHENTICATION`,`SCHEDULED`
377
377
  */
378
- readonly type: pulumi.Input<string>;
378
+ type: pulumi.Input<string>;
379
379
  }