@pulumiverse/scaleway 0.4.0 → 1.11.1

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 (533) hide show
  1. package/accountProject.d.ts +108 -0
  2. package/accountProject.js +77 -0
  3. package/accountProject.js.map +1 -0
  4. package/accountSshKey.d.ts +40 -4
  5. package/accountSshKey.js +34 -26
  6. package/accountSshKey.js.map +1 -1
  7. package/appleSliconValleyServer.d.ts +2 -4
  8. package/appleSliconValleyServer.js +24 -26
  9. package/appleSliconValleyServer.js.map +1 -1
  10. package/baremetalServer.d.ts +161 -13
  11. package/baremetalServer.js +66 -30
  12. package/baremetalServer.js.map +1 -1
  13. package/cockpit.d.ts +87 -0
  14. package/cockpit.js +64 -0
  15. package/cockpit.js.map +1 -0
  16. package/cockpitGrafanaUser.d.ts +109 -0
  17. package/cockpitGrafanaUser.js +92 -0
  18. package/cockpitGrafanaUser.js.map +1 -0
  19. package/cockpitToken.d.ts +125 -0
  20. package/cockpitToken.js +100 -0
  21. package/cockpitToken.js.map +1 -0
  22. package/container.d.ts +65 -10
  23. package/container.js +33 -24
  24. package/container.js.map +1 -1
  25. package/containerCron.d.ts +6 -1
  26. package/containerCron.js +24 -24
  27. package/containerCron.js.map +1 -1
  28. package/containerDomain.d.ts +138 -0
  29. package/containerDomain.js +119 -0
  30. package/containerDomain.js.map +1 -0
  31. package/containerNamespace.d.ts +36 -8
  32. package/containerNamespace.js +29 -27
  33. package/containerNamespace.js.map +1 -1
  34. package/containerToken.d.ts +147 -0
  35. package/containerToken.js +92 -0
  36. package/containerToken.js.map +1 -0
  37. package/containerTrigger.d.ts +156 -0
  38. package/containerTrigger.js +108 -0
  39. package/containerTrigger.js.map +1 -0
  40. package/database.d.ts +23 -5
  41. package/database.js +24 -22
  42. package/database.js.map +1 -1
  43. package/databaseAcl.d.ts +14 -7
  44. package/databaseAcl.js +22 -22
  45. package/databaseAcl.js.map +1 -1
  46. package/databaseBackup.d.ts +18 -6
  47. package/databaseBackup.js +22 -22
  48. package/databaseBackup.js.map +1 -1
  49. package/databaseInstance.d.ts +71 -111
  50. package/databaseInstance.js +27 -121
  51. package/databaseInstance.js.map +1 -1
  52. package/databasePrivilege.d.ts +36 -8
  53. package/databasePrivilege.js +45 -27
  54. package/databasePrivilege.js.map +1 -1
  55. package/databaseReadReplica.d.ts +30 -8
  56. package/databaseReadReplica.js +25 -23
  57. package/databaseReadReplica.js.map +1 -1
  58. package/databaseUser.d.ts +19 -7
  59. package/databaseUser.js +26 -24
  60. package/databaseUser.js.map +1 -1
  61. package/documentdbDatabase.d.ts +137 -0
  62. package/documentdbDatabase.js +87 -0
  63. package/documentdbDatabase.js.map +1 -0
  64. package/documentdbInstance.d.ts +247 -0
  65. package/documentdbInstance.js +113 -0
  66. package/documentdbInstance.js.map +1 -0
  67. package/documentdbPrivateNetworkEndpoint.d.ts +147 -0
  68. package/documentdbPrivateNetworkEndpoint.js +80 -0
  69. package/documentdbPrivateNetworkEndpoint.js.map +1 -0
  70. package/documentdbPrivilege.d.ts +122 -0
  71. package/documentdbPrivilege.js +95 -0
  72. package/documentdbPrivilege.js.map +1 -0
  73. package/documentdbReadReplica.d.ts +137 -0
  74. package/documentdbReadReplica.js +100 -0
  75. package/documentdbReadReplica.js.map +1 -0
  76. package/documentdbUser.d.ts +140 -0
  77. package/documentdbUser.js +97 -0
  78. package/documentdbUser.js.map +1 -0
  79. package/domainRecord.d.ts +23 -22
  80. package/domainRecord.js +28 -28
  81. package/domainRecord.js.map +1 -1
  82. package/domainZone.d.ts +2 -2
  83. package/domainZone.js +24 -24
  84. package/domainZone.js.map +1 -1
  85. package/flexibleIp.d.ts +53 -36
  86. package/flexibleIp.js +39 -32
  87. package/flexibleIp.js.map +1 -1
  88. package/flexibleIpMacAddress.d.ts +173 -0
  89. package/flexibleIpMacAddress.js +123 -0
  90. package/flexibleIpMacAddress.js.map +1 -0
  91. package/function.d.ts +39 -3
  92. package/function.js +28 -22
  93. package/function.js.map +1 -1
  94. package/functionCron.d.ts +0 -6
  95. package/functionCron.js +22 -28
  96. package/functionCron.js.map +1 -1
  97. package/functionDomain.d.ts +126 -0
  98. package/functionDomain.js +98 -0
  99. package/functionDomain.js.map +1 -0
  100. package/functionNamespace.d.ts +26 -4
  101. package/functionNamespace.js +28 -26
  102. package/functionNamespace.js.map +1 -1
  103. package/functionToken.d.ts +152 -0
  104. package/functionToken.js +97 -0
  105. package/functionToken.js.map +1 -0
  106. package/functionTrigger.d.ts +140 -0
  107. package/functionTrigger.js +92 -0
  108. package/functionTrigger.js.map +1 -0
  109. package/getAccountProject.d.ts +92 -0
  110. package/getAccountProject.js +56 -0
  111. package/getAccountProject.js.map +1 -0
  112. package/getAccountSshKey.d.ts +20 -3
  113. package/getAccountSshKey.js +18 -8
  114. package/getAccountSshKey.js.map +1 -1
  115. package/getAvailabilityZones.d.ts +69 -0
  116. package/getAvailabilityZones.js +54 -0
  117. package/getAvailabilityZones.js.map +1 -0
  118. package/getBaremetalOffer.d.ts +27 -4
  119. package/getBaremetalOffer.js +20 -8
  120. package/getBaremetalOffer.js.map +1 -1
  121. package/getBaremetalOption.d.ts +92 -0
  122. package/getBaremetalOption.js +58 -0
  123. package/getBaremetalOption.js.map +1 -0
  124. package/getBaremetalOs.d.ts +25 -6
  125. package/getBaremetalOs.js +27 -11
  126. package/getBaremetalOs.js.map +1 -1
  127. package/getBaremetalServer.d.ts +36 -8
  128. package/getBaremetalServer.js +25 -11
  129. package/getBaremetalServer.js.map +1 -1
  130. package/getBillingConsumptions.d.ts +16 -0
  131. package/getBillingConsumptions.js +17 -0
  132. package/getBillingConsumptions.js.map +1 -0
  133. package/getBillingInvoices.d.ts +86 -0
  134. package/getBillingInvoices.js +50 -0
  135. package/getBillingInvoices.js.map +1 -0
  136. package/getCockpit.d.ts +86 -0
  137. package/getCockpit.js +66 -0
  138. package/getCockpit.js.map +1 -0
  139. package/getCockpitPlan.d.ts +63 -0
  140. package/getCockpitPlan.js +51 -0
  141. package/getCockpitPlan.js.map +1 -0
  142. package/getContainer.d.ts +39 -0
  143. package/getContainer.js +30 -5
  144. package/getContainer.js.map +1 -1
  145. package/getContainerNamespace.d.ts +24 -6
  146. package/getContainerNamespace.js +23 -11
  147. package/getContainerNamespace.js.map +1 -1
  148. package/getDatabase.d.ts +21 -4
  149. package/getDatabase.js +20 -8
  150. package/getDatabase.js.map +1 -1
  151. package/getDatabaseAcl.d.ts +28 -7
  152. package/getDatabaseAcl.js +20 -9
  153. package/getDatabaseAcl.js.map +1 -1
  154. package/getDatabaseBackup.d.ts +33 -6
  155. package/getDatabaseBackup.js +29 -11
  156. package/getDatabaseBackup.js.map +1 -1
  157. package/getDatabaseInstance.d.ts +17 -15
  158. package/getDatabaseInstance.js +7 -18
  159. package/getDatabaseInstance.js.map +1 -1
  160. package/getDatabasePrivilege.d.ts +31 -6
  161. package/getDatabasePrivilege.js +23 -10
  162. package/getDatabasePrivilege.js.map +1 -1
  163. package/getDocumentdbDatabase.d.ts +86 -0
  164. package/getDocumentdbDatabase.js +51 -0
  165. package/getDocumentdbDatabase.js.map +1 -0
  166. package/getDocumentdbInstance.d.ts +91 -0
  167. package/getDocumentdbInstance.js +50 -0
  168. package/getDocumentdbInstance.js.map +1 -0
  169. package/getDocumentdbLoadBalancerEndpoint.d.ts +38 -0
  170. package/getDocumentdbLoadBalancerEndpoint.js +23 -0
  171. package/getDocumentdbLoadBalancerEndpoint.js.map +1 -0
  172. package/getDomainRecord.d.ts +26 -7
  173. package/getDomainRecord.js +27 -11
  174. package/getDomainRecord.js.map +1 -1
  175. package/getDomainZone.d.ts +17 -3
  176. package/getDomainZone.js +19 -8
  177. package/getDomainZone.js.map +1 -1
  178. package/getFlexibleIp.d.ts +5 -13
  179. package/getFlexibleIp.js +5 -17
  180. package/getFlexibleIp.js.map +1 -1
  181. package/getFlexibleIps.d.ts +154 -0
  182. package/getFlexibleIps.js +101 -0
  183. package/getFlexibleIps.js.map +1 -0
  184. package/getFunction.d.ts +5 -1
  185. package/getFunction.js +2 -5
  186. package/getFunction.js.map +1 -1
  187. package/getFunctionNamespace.d.ts +19 -3
  188. package/getFunctionNamespace.js +18 -8
  189. package/getFunctionNamespace.js.map +1 -1
  190. package/getIamApplication.d.ts +93 -0
  191. package/getIamApplication.js +56 -0
  192. package/getIamApplication.js.map +1 -0
  193. package/getIamGroup.d.ts +97 -0
  194. package/getIamGroup.js +58 -0
  195. package/getIamGroup.js.map +1 -0
  196. package/getIamSshKey.d.ts +90 -0
  197. package/getIamSshKey.js +49 -0
  198. package/getIamSshKey.js.map +1 -0
  199. package/getIamUser.d.ts +89 -0
  200. package/getIamUser.js +60 -0
  201. package/getIamUser.js.map +1 -0
  202. package/getInstanceImage.d.ts +16 -3
  203. package/getInstanceImage.js +18 -8
  204. package/getInstanceImage.js.map +1 -1
  205. package/getInstanceIp.d.ts +24 -3
  206. package/getInstanceIp.js +18 -8
  207. package/getInstanceIp.js.map +1 -1
  208. package/getInstancePrivateNic.d.ts +121 -0
  209. package/getInstancePrivateNic.js +69 -0
  210. package/getInstancePrivateNic.js.map +1 -0
  211. package/getInstanceSecurityGroup.d.ts +17 -4
  212. package/getInstanceSecurityGroup.js +18 -8
  213. package/getInstanceSecurityGroup.js.map +1 -1
  214. package/getInstanceServer.d.ts +27 -7
  215. package/getInstanceServer.js +18 -8
  216. package/getInstanceServer.js.map +1 -1
  217. package/getInstanceServers.d.ts +20 -4
  218. package/getInstanceServers.js +21 -8
  219. package/getInstanceServers.js.map +1 -1
  220. package/getInstanceSnapshot.d.ts +96 -0
  221. package/getInstanceSnapshot.js +56 -0
  222. package/getInstanceSnapshot.js.map +1 -0
  223. package/getInstanceVolume.d.ts +16 -3
  224. package/getInstanceVolume.js +18 -8
  225. package/getInstanceVolume.js.map +1 -1
  226. package/getIotDevice.d.ts +17 -4
  227. package/getIotDevice.js +18 -8
  228. package/getIotDevice.js.map +1 -1
  229. package/getIotHub.d.ts +16 -3
  230. package/getIotHub.js +18 -8
  231. package/getIotHub.js.map +1 -1
  232. package/getIpamIp.d.ts +133 -0
  233. package/getIpamIp.js +83 -0
  234. package/getIpamIp.js.map +1 -0
  235. package/getK8sVersion.d.ts +108 -0
  236. package/getK8sVersion.js +76 -0
  237. package/getK8sVersion.js.map +1 -0
  238. package/getKubernetesCluster.d.ts +21 -4
  239. package/getKubernetesCluster.js +18 -8
  240. package/getKubernetesCluster.js.map +1 -1
  241. package/getKubernetesNodePool.d.ts +18 -4
  242. package/getKubernetesNodePool.js +18 -8
  243. package/getKubernetesNodePool.js.map +1 -1
  244. package/getLbAcls.d.ts +96 -0
  245. package/getLbAcls.js +58 -0
  246. package/getLbAcls.js.map +1 -0
  247. package/getLbBackend.d.ts +142 -0
  248. package/getLbBackend.js +82 -0
  249. package/getLbBackend.js.map +1 -0
  250. package/getLbBackends.d.ts +94 -0
  251. package/getLbBackends.js +58 -0
  252. package/getLbBackends.js.map +1 -0
  253. package/getLbFrontend.d.ts +134 -0
  254. package/getLbFrontend.js +94 -0
  255. package/getLbFrontend.js.map +1 -0
  256. package/getLbFrontends.d.ts +94 -0
  257. package/getLbFrontends.js +58 -0
  258. package/getLbFrontends.js.map +1 -0
  259. package/getLbIps.d.ts +94 -0
  260. package/getLbIps.js +52 -0
  261. package/getLbIps.js.map +1 -0
  262. package/getLbRoute.d.ts +111 -0
  263. package/getLbRoute.js +93 -0
  264. package/getLbRoute.js.map +1 -0
  265. package/getLbRoutes.d.ts +85 -0
  266. package/getLbRoutes.js +58 -0
  267. package/getLbRoutes.js.map +1 -0
  268. package/getLbs.d.ts +97 -0
  269. package/getLbs.js +52 -0
  270. package/getLbs.js.map +1 -0
  271. package/getLoadbalancer.d.ts +31 -13
  272. package/getLoadbalancer.js +23 -11
  273. package/getLoadbalancer.js.map +1 -1
  274. package/getLoadbalancerCertificate.d.ts +11 -2
  275. package/getLoadbalancerCertificate.js +12 -6
  276. package/getLoadbalancerCertificate.js.map +1 -1
  277. package/getLoadbalancerIp.d.ts +16 -3
  278. package/getLoadbalancerIp.js +18 -8
  279. package/getLoadbalancerIp.js.map +1 -1
  280. package/getMarketplaceImage.d.ts +17 -3
  281. package/getMarketplaceImage.js +19 -8
  282. package/getMarketplaceImage.js.map +1 -1
  283. package/getMnqSqs.d.ts +78 -0
  284. package/getMnqSqs.js +55 -0
  285. package/getMnqSqs.js.map +1 -0
  286. package/getObjectBucket.d.ts +57 -7
  287. package/getObjectBucket.js +49 -11
  288. package/getObjectBucket.js.map +1 -1
  289. package/getObjectBucketPolicy.d.ts +83 -0
  290. package/getObjectBucketPolicy.js +51 -0
  291. package/getObjectBucketPolicy.js.map +1 -0
  292. package/getRedisCluster.d.ts +18 -5
  293. package/getRedisCluster.js +19 -9
  294. package/getRedisCluster.js.map +1 -1
  295. package/getRegistryImage.d.ts +18 -4
  296. package/getRegistryImage.js +20 -9
  297. package/getRegistryImage.js.map +1 -1
  298. package/getRegistryNamespace.d.ts +16 -3
  299. package/getRegistryNamespace.js +18 -8
  300. package/getRegistryNamespace.js.map +1 -1
  301. package/getSecret.d.ts +125 -0
  302. package/getSecret.js +68 -0
  303. package/getSecret.js.map +1 -0
  304. package/getSecretVersion.d.ts +84 -0
  305. package/getSecretVersion.js +23 -0
  306. package/getSecretVersion.js.map +1 -0
  307. package/getTemDomain.d.ts +109 -0
  308. package/getTemDomain.js +28 -0
  309. package/getTemDomain.js.map +1 -0
  310. package/getVpc.d.ts +113 -0
  311. package/getVpc.js +65 -0
  312. package/getVpc.js.map +1 -0
  313. package/getVpcGatewayNetwork.d.ts +33 -0
  314. package/getVpcGatewayNetwork.js +28 -5
  315. package/getVpcGatewayNetwork.js.map +1 -1
  316. package/getVpcPrivateNetwork.d.ts +48 -3
  317. package/getVpcPrivateNetwork.js +30 -6
  318. package/getVpcPrivateNetwork.js.map +1 -1
  319. package/getVpcPublicGateway.d.ts +43 -7
  320. package/getVpcPublicGateway.js +35 -11
  321. package/getVpcPublicGateway.js.map +1 -1
  322. package/getVpcPublicGatewayDhcp.d.ts +20 -5
  323. package/getVpcPublicGatewayDhcp.js +22 -10
  324. package/getVpcPublicGatewayDhcp.js.map +1 -1
  325. package/getVpcPublicGatewayDhcpReservation.d.ts +22 -1
  326. package/getVpcPublicGatewayDhcpReservation.js +8 -5
  327. package/getVpcPublicGatewayDhcpReservation.js.map +1 -1
  328. package/getVpcPublicGatewayIp.d.ts +22 -3
  329. package/getVpcPublicGatewayIp.js +24 -8
  330. package/getVpcPublicGatewayIp.js.map +1 -1
  331. package/getVpcPublicPatRule.d.ts +40 -0
  332. package/getVpcPublicPatRule.js +42 -5
  333. package/getVpcPublicPatRule.js.map +1 -1
  334. package/getVpcs.d.ts +100 -0
  335. package/getVpcs.js +53 -0
  336. package/getVpcs.js.map +1 -0
  337. package/getWebHostOffer.d.ts +96 -0
  338. package/getWebHostOffer.js +56 -0
  339. package/getWebHostOffer.js.map +1 -0
  340. package/getWebhosting.d.ts +108 -0
  341. package/getWebhosting.js +57 -0
  342. package/getWebhosting.js.map +1 -0
  343. package/iamApiKey.d.ts +178 -0
  344. package/iamApiKey.js +96 -0
  345. package/iamApiKey.js.map +1 -0
  346. package/iamApplication.d.ts +116 -0
  347. package/iamApplication.js +79 -0
  348. package/iamApplication.js.map +1 -0
  349. package/iamGroup.d.ts +164 -0
  350. package/iamGroup.js +103 -0
  351. package/iamGroup.js.map +1 -0
  352. package/iamGroupMembership.d.ts +106 -0
  353. package/iamGroupMembership.js +84 -0
  354. package/iamGroupMembership.js.map +1 -0
  355. package/iamPolicy.d.ts +197 -0
  356. package/iamPolicy.js +105 -0
  357. package/iamPolicy.js.map +1 -0
  358. package/iamSshKey.d.ts +141 -0
  359. package/iamSshKey.js +88 -0
  360. package/iamSshKey.js.map +1 -0
  361. package/iamUser.d.ts +147 -0
  362. package/iamUser.js +93 -0
  363. package/iamUser.js.map +1 -0
  364. package/index.d.ts +525 -94
  365. package/index.js +619 -217
  366. package/index.js.map +1 -1
  367. package/instanceImage.d.ts +9 -2
  368. package/instanceImage.js +23 -23
  369. package/instanceImage.js.map +1 -1
  370. package/instanceIp.d.ts +28 -2
  371. package/instanceIp.js +28 -24
  372. package/instanceIp.js.map +1 -1
  373. package/instanceIpReverseDns.d.ts +20 -0
  374. package/instanceIpReverseDns.js +42 -22
  375. package/instanceIpReverseDns.js.map +1 -1
  376. package/instancePlacementGroup.d.ts +2 -2
  377. package/instancePlacementGroup.js +24 -24
  378. package/instancePlacementGroup.js.map +1 -1
  379. package/instancePrivateNic.d.ts +26 -2
  380. package/instancePrivateNic.js +28 -24
  381. package/instancePrivateNic.js.map +1 -1
  382. package/instanceSecurityGroup.d.ts +2 -1
  383. package/instanceSecurityGroup.js +22 -22
  384. package/instanceSecurityGroup.js.map +1 -1
  385. package/instanceSecurityGroupRules.d.ts +27 -1
  386. package/instanceSecurityGroupRules.js +46 -21
  387. package/instanceSecurityGroupRules.js.map +1 -1
  388. package/instanceServer.d.ts +171 -21
  389. package/instanceServer.js +75 -27
  390. package/instanceServer.js.map +1 -1
  391. package/instanceSnapshot.d.ts +40 -7
  392. package/instanceSnapshot.js +47 -29
  393. package/instanceSnapshot.js.map +1 -1
  394. package/instanceUserData.d.ts +155 -0
  395. package/instanceUserData.js +120 -0
  396. package/instanceUserData.js.map +1 -0
  397. package/instanceVolume.d.ts +11 -11
  398. package/instanceVolume.js +24 -24
  399. package/instanceVolume.js.map +1 -1
  400. package/iotDevice.d.ts +20 -1
  401. package/iotDevice.js +22 -22
  402. package/iotDevice.js.map +1 -1
  403. package/iotHub.d.ts +12 -0
  404. package/iotHub.js +22 -22
  405. package/iotHub.js.map +1 -1
  406. package/iotNetwork.js +24 -22
  407. package/iotNetwork.js.map +1 -1
  408. package/iotRoute.d.ts +130 -0
  409. package/iotRoute.js +69 -0
  410. package/iotRoute.js.map +1 -0
  411. package/kubernetesCluster.d.ts +141 -11
  412. package/kubernetesCluster.js +109 -22
  413. package/kubernetesCluster.js.map +1 -1
  414. package/kubernetesNodePool.d.ts +23 -1
  415. package/kubernetesNodePool.js +24 -22
  416. package/kubernetesNodePool.js.map +1 -1
  417. package/loadbalancer.d.ts +69 -34
  418. package/loadbalancer.js +45 -50
  419. package/loadbalancer.js.map +1 -1
  420. package/loadbalancerAcl.d.ts +162 -0
  421. package/loadbalancerAcl.js +108 -0
  422. package/loadbalancerAcl.js.map +1 -0
  423. package/loadbalancerBackend.d.ts +124 -9
  424. package/loadbalancerBackend.js +41 -23
  425. package/loadbalancerBackend.js.map +1 -1
  426. package/loadbalancerCertificate.d.ts +12 -1
  427. package/loadbalancerCertificate.js +22 -22
  428. package/loadbalancerCertificate.js.map +1 -1
  429. package/loadbalancerFrontend.d.ts +42 -2
  430. package/loadbalancerFrontend.js +27 -23
  431. package/loadbalancerFrontend.js.map +1 -1
  432. package/loadbalancerIp.d.ts +3 -5
  433. package/loadbalancerIp.js +25 -27
  434. package/loadbalancerIp.js.map +1 -1
  435. package/loadbalancerRoute.d.ts +85 -13
  436. package/loadbalancerRoute.js +61 -26
  437. package/loadbalancerRoute.js.map +1 -1
  438. package/mnqCredential.d.ts +118 -0
  439. package/mnqCredential.js +71 -0
  440. package/mnqCredential.js.map +1 -0
  441. package/mnqNamespace.d.ts +146 -0
  442. package/mnqNamespace.js +93 -0
  443. package/mnqNamespace.js.map +1 -0
  444. package/mnqNatsAccount.d.ts +110 -0
  445. package/mnqNatsAccount.js +79 -0
  446. package/mnqNatsAccount.js.map +1 -0
  447. package/mnqNatsCredentials.d.ts +108 -0
  448. package/mnqNatsCredentials.js +83 -0
  449. package/mnqNatsCredentials.js.map +1 -0
  450. package/mnqQueue.d.ts +122 -0
  451. package/mnqQueue.js +64 -0
  452. package/mnqQueue.js.map +1 -0
  453. package/mnqSqs.d.ts +98 -0
  454. package/mnqSqs.js +80 -0
  455. package/mnqSqs.js.map +1 -0
  456. package/mnqSqsCredentials.d.ts +134 -0
  457. package/mnqSqsCredentials.js +93 -0
  458. package/mnqSqsCredentials.js.map +1 -0
  459. package/mnqSqsQueue.d.ts +238 -0
  460. package/mnqSqsQueue.js +121 -0
  461. package/mnqSqsQueue.js.map +1 -0
  462. package/objectBucket.d.ts +63 -72
  463. package/objectBucket.js +45 -90
  464. package/objectBucket.js.map +1 -1
  465. package/objectBucketAcl.d.ts +206 -0
  466. package/objectBucketAcl.js +158 -0
  467. package/objectBucketAcl.js.map +1 -0
  468. package/objectBucketLockConfiguration.d.ts +86 -0
  469. package/objectBucketLockConfiguration.js +61 -0
  470. package/objectBucketLockConfiguration.js.map +1 -0
  471. package/objectBucketPolicy.d.ts +47 -0
  472. package/objectBucketPolicy.js +53 -22
  473. package/objectBucketPolicy.js.map +1 -1
  474. package/objectBucketWebsiteConfiguration.d.ts +39 -14
  475. package/objectBucketWebsiteConfiguration.js +37 -30
  476. package/objectBucketWebsiteConfiguration.js.map +1 -1
  477. package/objectItem.d.ts +204 -0
  478. package/objectItem.js +89 -0
  479. package/objectItem.js.map +1 -0
  480. package/package.json +4 -4
  481. package/package.json.bak +3 -4
  482. package/package.json.dev +4 -5
  483. package/provider.js +10 -10
  484. package/provider.js.map +1 -1
  485. package/redisCluster.d.ts +122 -22
  486. package/redisCluster.js +28 -26
  487. package/redisCluster.js.map +1 -1
  488. package/registryNamespace.d.ts +7 -1
  489. package/registryNamespace.js +23 -23
  490. package/registryNamespace.js.map +1 -1
  491. package/secret.d.ts +160 -0
  492. package/secret.js +94 -0
  493. package/secret.js.map +1 -0
  494. package/secretVersion.d.ts +128 -0
  495. package/secretVersion.js +80 -0
  496. package/secretVersion.js.map +1 -0
  497. package/temDomain.d.ts +251 -0
  498. package/temDomain.js +135 -0
  499. package/temDomain.js.map +1 -0
  500. package/types/index.js.map +1 -1
  501. package/types/input.d.ts +712 -30
  502. package/types/output.d.ts +1603 -88
  503. package/utilities.js +13 -1
  504. package/utilities.js.map +1 -1
  505. package/vpc.d.ts +140 -0
  506. package/vpc.js +87 -0
  507. package/vpc.js.map +1 -0
  508. package/vpcGatewayNetwork.d.ts +72 -7
  509. package/vpcGatewayNetwork.js +69 -22
  510. package/vpcGatewayNetwork.js.map +1 -1
  511. package/vpcPrivateNetwork.d.ts +110 -11
  512. package/vpcPrivateNetwork.js +61 -26
  513. package/vpcPrivateNetwork.js.map +1 -1
  514. package/vpcPublicGateway.d.ts +1 -1
  515. package/vpcPublicGateway.js +23 -23
  516. package/vpcPublicGateway.js.map +1 -1
  517. package/vpcPublicGatewayDhcp.d.ts +2 -4
  518. package/vpcPublicGatewayDhcp.js +24 -26
  519. package/vpcPublicGatewayDhcp.js.map +1 -1
  520. package/vpcPublicGatewayDhcpReservation.d.ts +2 -2
  521. package/vpcPublicGatewayDhcpReservation.js +24 -24
  522. package/vpcPublicGatewayDhcpReservation.js.map +1 -1
  523. package/vpcPublicGatewayIp.d.ts +3 -5
  524. package/vpcPublicGatewayIp.js +25 -27
  525. package/vpcPublicGatewayIp.js.map +1 -1
  526. package/vpcPublicGatewayIpReverseDns.d.ts +104 -0
  527. package/vpcPublicGatewayIpReverseDns.js +91 -0
  528. package/vpcPublicGatewayIpReverseDns.js.map +1 -0
  529. package/vpcPublicGatewayPatRule.js +22 -22
  530. package/vpcPublicGatewayPatRule.js.map +1 -1
  531. package/webhosting.d.ts +244 -0
  532. package/webhosting.js +126 -0
  533. package/webhosting.js.map +1 -0
@@ -0,0 +1,134 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Creates and manages Scaleway Messaging and queuing SQS Credentials.
6
+ * For further information please check
7
+ * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/)
8
+ *
9
+ * ## Examples
10
+ *
11
+ * ### Basic
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as scaleway from "@pulumiverse/scaleway";
16
+ *
17
+ * const mainMnqSqs = new scaleway.MnqSqs("mainMnqSqs", {});
18
+ * const mainMnqSqsCredentials = new scaleway.MnqSqsCredentials("mainMnqSqsCredentials", {
19
+ * projectId: mainMnqSqs.projectId,
20
+ * permissions: {
21
+ * canManage: false,
22
+ * canReceive: true,
23
+ * canPublish: false,
24
+ * },
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * SQS credentials can be imported using the `{region}/{id}`, e.g. bash
31
+ *
32
+ * ```sh
33
+ * $ pulumi import scaleway:index/mnqSqsCredentials:MnqSqsCredentials main fr-par/11111111111111111111111111111111
34
+ * ```
35
+ */
36
+ export declare class MnqSqsCredentials extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing MnqSqsCredentials resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MnqSqsCredentialsState, opts?: pulumi.CustomResourceOptions): MnqSqsCredentials;
47
+ /**
48
+ * Returns true if the given object is an instance of MnqSqsCredentials. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj: any): obj is MnqSqsCredentials;
52
+ /**
53
+ * The ID of the key.
54
+ */
55
+ readonly accessKey: pulumi.Output<string>;
56
+ /**
57
+ * The unique name of the sqs credentials.
58
+ */
59
+ readonly name: pulumi.Output<string>;
60
+ /**
61
+ * . List of permissions associated to these credentials. Only one of permissions may be set.
62
+ */
63
+ readonly permissions: pulumi.Output<outputs.MnqSqsCredentialsPermissions>;
64
+ /**
65
+ * `projectId`) The ID of the project the sqs is enabled for.
66
+ */
67
+ readonly projectId: pulumi.Output<string>;
68
+ /**
69
+ * `region`). The region in which sqs is enabled.
70
+ */
71
+ readonly region: pulumi.Output<string>;
72
+ /**
73
+ * The secret value of the key.
74
+ */
75
+ readonly secretKey: pulumi.Output<string>;
76
+ /**
77
+ * Create a MnqSqsCredentials resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args?: MnqSqsCredentialsArgs, opts?: pulumi.CustomResourceOptions);
84
+ }
85
+ /**
86
+ * Input properties used for looking up and filtering MnqSqsCredentials resources.
87
+ */
88
+ export interface MnqSqsCredentialsState {
89
+ /**
90
+ * The ID of the key.
91
+ */
92
+ accessKey?: pulumi.Input<string>;
93
+ /**
94
+ * The unique name of the sqs credentials.
95
+ */
96
+ name?: pulumi.Input<string>;
97
+ /**
98
+ * . List of permissions associated to these credentials. Only one of permissions may be set.
99
+ */
100
+ permissions?: pulumi.Input<inputs.MnqSqsCredentialsPermissions>;
101
+ /**
102
+ * `projectId`) The ID of the project the sqs is enabled for.
103
+ */
104
+ projectId?: pulumi.Input<string>;
105
+ /**
106
+ * `region`). The region in which sqs is enabled.
107
+ */
108
+ region?: pulumi.Input<string>;
109
+ /**
110
+ * The secret value of the key.
111
+ */
112
+ secretKey?: pulumi.Input<string>;
113
+ }
114
+ /**
115
+ * The set of arguments for constructing a MnqSqsCredentials resource.
116
+ */
117
+ export interface MnqSqsCredentialsArgs {
118
+ /**
119
+ * The unique name of the sqs credentials.
120
+ */
121
+ name?: pulumi.Input<string>;
122
+ /**
123
+ * . List of permissions associated to these credentials. Only one of permissions may be set.
124
+ */
125
+ permissions?: pulumi.Input<inputs.MnqSqsCredentialsPermissions>;
126
+ /**
127
+ * `projectId`) The ID of the project the sqs is enabled for.
128
+ */
129
+ projectId?: pulumi.Input<string>;
130
+ /**
131
+ * `region`). The region in which sqs is enabled.
132
+ */
133
+ region?: pulumi.Input<string>;
134
+ }
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.MnqSqsCredentials = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Creates and manages Scaleway Messaging and queuing SQS Credentials.
10
+ * For further information please check
11
+ * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/reference-content/sqs-overview/)
12
+ *
13
+ * ## Examples
14
+ *
15
+ * ### Basic
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as scaleway from "@pulumiverse/scaleway";
20
+ *
21
+ * const mainMnqSqs = new scaleway.MnqSqs("mainMnqSqs", {});
22
+ * const mainMnqSqsCredentials = new scaleway.MnqSqsCredentials("mainMnqSqsCredentials", {
23
+ * projectId: mainMnqSqs.projectId,
24
+ * permissions: {
25
+ * canManage: false,
26
+ * canReceive: true,
27
+ * canPublish: false,
28
+ * },
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * SQS credentials can be imported using the `{region}/{id}`, e.g. bash
35
+ *
36
+ * ```sh
37
+ * $ pulumi import scaleway:index/mnqSqsCredentials:MnqSqsCredentials main fr-par/11111111111111111111111111111111
38
+ * ```
39
+ */
40
+ class MnqSqsCredentials extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing MnqSqsCredentials resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new MnqSqsCredentials(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of MnqSqsCredentials. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === MnqSqsCredentials.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["accessKey"] = state ? state.accessKey : undefined;
69
+ resourceInputs["name"] = state ? state.name : undefined;
70
+ resourceInputs["permissions"] = state ? state.permissions : undefined;
71
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
72
+ resourceInputs["region"] = state ? state.region : undefined;
73
+ resourceInputs["secretKey"] = state ? state.secretKey : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ resourceInputs["name"] = args ? args.name : undefined;
78
+ resourceInputs["permissions"] = args ? args.permissions : undefined;
79
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
80
+ resourceInputs["region"] = args ? args.region : undefined;
81
+ resourceInputs["accessKey"] = undefined /*out*/;
82
+ resourceInputs["secretKey"] = undefined /*out*/;
83
+ }
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
+ const secretOpts = { additionalSecretOutputs: ["accessKey", "secretKey"] };
86
+ opts = pulumi.mergeOptions(opts, secretOpts);
87
+ super(MnqSqsCredentials.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.MnqSqsCredentials = MnqSqsCredentials;
91
+ /** @internal */
92
+ MnqSqsCredentials.__pulumiType = 'scaleway:index/mnqSqsCredentials:MnqSqsCredentials';
93
+ //# sourceMappingURL=mnqSqsCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mnqSqsCredentials.js","sourceRoot":"","sources":["../mnqSqsCredentials.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EA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MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,EAAE,CAAC;QAC3E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AArFL,8CAsFC;AAxEG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,238 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Creates and manages Scaleway Messaging and queuing SQS Queues.
4
+ * For further information please check
5
+ * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/)
6
+ *
7
+ * ## Examples
8
+ *
9
+ * ### Basic
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as scaleway from "@pulumiverse/scaleway";
14
+ *
15
+ * const mainMnqSqs = new scaleway.MnqSqs("mainMnqSqs", {});
16
+ * const mainMnqSqsCredentials = new scaleway.MnqSqsCredentials("mainMnqSqsCredentials", {
17
+ * projectId: mainMnqSqs.projectId,
18
+ * permissions: {
19
+ * canManage: false,
20
+ * canReceive: true,
21
+ * canPublish: false,
22
+ * },
23
+ * });
24
+ * const mainMnqSqsQueue = new scaleway.MnqSqsQueue("mainMnqSqsQueue", {
25
+ * projectId: mainMnqSqs.projectId,
26
+ * endpoint: mainMnqSqs.endpoint,
27
+ * accessKey: mainMnqSqsCredentials.accessKey,
28
+ * secretKey: mainMnqSqsCredentials.secretKey,
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * SQS queues can be imported using the `{region}/{project-id}/{queue-name}`, e.g. bash
35
+ *
36
+ * ```sh
37
+ * $ pulumi import scaleway:index/mnqSqsQueue:MnqSqsQueue main fr-par/11111111111111111111111111111111/my-queue
38
+ * ```
39
+ */
40
+ export declare class MnqSqsQueue extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing MnqSqsQueue resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MnqSqsQueueState, opts?: pulumi.CustomResourceOptions): MnqSqsQueue;
51
+ /**
52
+ * Returns true if the given object is an instance of MnqSqsQueue. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj: any): obj is MnqSqsQueue;
56
+ /**
57
+ * The access key of the SQS queue.
58
+ */
59
+ readonly accessKey: pulumi.Output<string>;
60
+ /**
61
+ * Specifies whether to enable content-based deduplication. Defaults to `false`.
62
+ */
63
+ readonly contentBasedDeduplication: pulumi.Output<boolean>;
64
+ /**
65
+ * The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to `http://sqs-sns.mnq.{region}.scw.cloud`.
66
+ */
67
+ readonly endpoint: pulumi.Output<string | undefined>;
68
+ /**
69
+ * Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to `false`.
70
+ */
71
+ readonly fifoQueue: pulumi.Output<boolean>;
72
+ /**
73
+ * The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
74
+ */
75
+ readonly messageMaxAge: pulumi.Output<number | undefined>;
76
+ /**
77
+ * The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
78
+ */
79
+ readonly messageMaxSize: pulumi.Output<number | undefined>;
80
+ /**
81
+ * The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`.
82
+ */
83
+ readonly name: pulumi.Output<string>;
84
+ /**
85
+ * Creates a unique name beginning with the specified prefix. Conflicts with `name`.
86
+ */
87
+ readonly namePrefix: pulumi.Output<string>;
88
+ /**
89
+ * `projectId`) The ID of the project the sqs is enabled for.
90
+ */
91
+ readonly projectId: pulumi.Output<string>;
92
+ /**
93
+ * The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
94
+ */
95
+ readonly receiveWaitTimeSeconds: pulumi.Output<number | undefined>;
96
+ /**
97
+ * `region`). The region in which sqs is enabled.
98
+ */
99
+ readonly region: pulumi.Output<string>;
100
+ /**
101
+ * The secret key of the SQS queue.
102
+ */
103
+ readonly secretKey: pulumi.Output<string>;
104
+ /**
105
+ * The URL of the queue.
106
+ */
107
+ readonly url: pulumi.Output<string>;
108
+ /**
109
+ * The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
110
+ */
111
+ readonly visibilityTimeoutSeconds: pulumi.Output<number | undefined>;
112
+ /**
113
+ * Create a MnqSqsQueue resource with the given unique name, arguments, and options.
114
+ *
115
+ * @param name The _unique_ name of the resource.
116
+ * @param args The arguments to use to populate this resource's properties.
117
+ * @param opts A bag of options that control this resource's behavior.
118
+ */
119
+ constructor(name: string, args: MnqSqsQueueArgs, opts?: pulumi.CustomResourceOptions);
120
+ }
121
+ /**
122
+ * Input properties used for looking up and filtering MnqSqsQueue resources.
123
+ */
124
+ export interface MnqSqsQueueState {
125
+ /**
126
+ * The access key of the SQS queue.
127
+ */
128
+ accessKey?: pulumi.Input<string>;
129
+ /**
130
+ * Specifies whether to enable content-based deduplication. Defaults to `false`.
131
+ */
132
+ contentBasedDeduplication?: pulumi.Input<boolean>;
133
+ /**
134
+ * The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to `http://sqs-sns.mnq.{region}.scw.cloud`.
135
+ */
136
+ endpoint?: pulumi.Input<string>;
137
+ /**
138
+ * Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to `false`.
139
+ */
140
+ fifoQueue?: pulumi.Input<boolean>;
141
+ /**
142
+ * The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
143
+ */
144
+ messageMaxAge?: pulumi.Input<number>;
145
+ /**
146
+ * The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
147
+ */
148
+ messageMaxSize?: pulumi.Input<number>;
149
+ /**
150
+ * The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`.
151
+ */
152
+ name?: pulumi.Input<string>;
153
+ /**
154
+ * Creates a unique name beginning with the specified prefix. Conflicts with `name`.
155
+ */
156
+ namePrefix?: pulumi.Input<string>;
157
+ /**
158
+ * `projectId`) The ID of the project the sqs is enabled for.
159
+ */
160
+ projectId?: pulumi.Input<string>;
161
+ /**
162
+ * The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
163
+ */
164
+ receiveWaitTimeSeconds?: pulumi.Input<number>;
165
+ /**
166
+ * `region`). The region in which sqs is enabled.
167
+ */
168
+ region?: pulumi.Input<string>;
169
+ /**
170
+ * The secret key of the SQS queue.
171
+ */
172
+ secretKey?: pulumi.Input<string>;
173
+ /**
174
+ * The URL of the queue.
175
+ */
176
+ url?: pulumi.Input<string>;
177
+ /**
178
+ * The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
179
+ */
180
+ visibilityTimeoutSeconds?: pulumi.Input<number>;
181
+ }
182
+ /**
183
+ * The set of arguments for constructing a MnqSqsQueue resource.
184
+ */
185
+ export interface MnqSqsQueueArgs {
186
+ /**
187
+ * The access key of the SQS queue.
188
+ */
189
+ accessKey: pulumi.Input<string>;
190
+ /**
191
+ * Specifies whether to enable content-based deduplication. Defaults to `false`.
192
+ */
193
+ contentBasedDeduplication?: pulumi.Input<boolean>;
194
+ /**
195
+ * The endpoint of the SQS queue. Can contain a {region} placeholder. Defaults to `http://sqs-sns.mnq.{region}.scw.cloud`.
196
+ */
197
+ endpoint?: pulumi.Input<string>;
198
+ /**
199
+ * Whether the queue is a FIFO queue. If true, the queue name must end with .fifo. Defaults to `false`.
200
+ */
201
+ fifoQueue?: pulumi.Input<boolean>;
202
+ /**
203
+ * The number of seconds the queue retains a message. Must be between 60 and 1_209_600. Defaults to 345_600.
204
+ */
205
+ messageMaxAge?: pulumi.Input<number>;
206
+ /**
207
+ * The maximum size of a message. Should be in bytes. Must be between 1024 and 262_144. Defaults to 262_144.
208
+ */
209
+ messageMaxSize?: pulumi.Input<number>;
210
+ /**
211
+ * The unique name of the sqs queue. Either `name` or `namePrefix` is required. Conflicts with `namePrefix`.
212
+ */
213
+ name?: pulumi.Input<string>;
214
+ /**
215
+ * Creates a unique name beginning with the specified prefix. Conflicts with `name`.
216
+ */
217
+ namePrefix?: pulumi.Input<string>;
218
+ /**
219
+ * `projectId`) The ID of the project the sqs is enabled for.
220
+ */
221
+ projectId?: pulumi.Input<string>;
222
+ /**
223
+ * The number of seconds to wait for a message to arrive in the queue before returning. Must be between 0 and 20. Defaults to 0.
224
+ */
225
+ receiveWaitTimeSeconds?: pulumi.Input<number>;
226
+ /**
227
+ * `region`). The region in which sqs is enabled.
228
+ */
229
+ region?: pulumi.Input<string>;
230
+ /**
231
+ * The secret key of the SQS queue.
232
+ */
233
+ secretKey: pulumi.Input<string>;
234
+ /**
235
+ * The number of seconds a message is hidden from other consumers. Must be between 0 and 43_200. Defaults to 30.
236
+ */
237
+ visibilityTimeoutSeconds?: pulumi.Input<number>;
238
+ }
package/mnqSqsQueue.js ADDED
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.MnqSqsQueue = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Creates and manages Scaleway Messaging and queuing SQS Queues.
10
+ * For further information please check
11
+ * our [documentation](https://www.scaleway.com/en/docs/serverless/messaging/how-to/create-manage-queues/)
12
+ *
13
+ * ## Examples
14
+ *
15
+ * ### Basic
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as scaleway from "@pulumiverse/scaleway";
20
+ *
21
+ * const mainMnqSqs = new scaleway.MnqSqs("mainMnqSqs", {});
22
+ * const mainMnqSqsCredentials = new scaleway.MnqSqsCredentials("mainMnqSqsCredentials", {
23
+ * projectId: mainMnqSqs.projectId,
24
+ * permissions: {
25
+ * canManage: false,
26
+ * canReceive: true,
27
+ * canPublish: false,
28
+ * },
29
+ * });
30
+ * const mainMnqSqsQueue = new scaleway.MnqSqsQueue("mainMnqSqsQueue", {
31
+ * projectId: mainMnqSqs.projectId,
32
+ * endpoint: mainMnqSqs.endpoint,
33
+ * accessKey: mainMnqSqsCredentials.accessKey,
34
+ * secretKey: mainMnqSqsCredentials.secretKey,
35
+ * });
36
+ * ```
37
+ *
38
+ * ## Import
39
+ *
40
+ * SQS queues can be imported using the `{region}/{project-id}/{queue-name}`, e.g. bash
41
+ *
42
+ * ```sh
43
+ * $ pulumi import scaleway:index/mnqSqsQueue:MnqSqsQueue main fr-par/11111111111111111111111111111111/my-queue
44
+ * ```
45
+ */
46
+ class MnqSqsQueue extends pulumi.CustomResource {
47
+ /**
48
+ * Get an existing MnqSqsQueue resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param state Any extra arguments used during the lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name, id, state, opts) {
57
+ return new MnqSqsQueue(name, state, Object.assign(Object.assign({}, opts), { id: id }));
58
+ }
59
+ /**
60
+ * Returns true if the given object is an instance of MnqSqsQueue. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj) {
64
+ if (obj === undefined || obj === null) {
65
+ return false;
66
+ }
67
+ return obj['__pulumiType'] === MnqSqsQueue.__pulumiType;
68
+ }
69
+ constructor(name, argsOrState, opts) {
70
+ let resourceInputs = {};
71
+ opts = opts || {};
72
+ if (opts.id) {
73
+ const state = argsOrState;
74
+ resourceInputs["accessKey"] = state ? state.accessKey : undefined;
75
+ resourceInputs["contentBasedDeduplication"] = state ? state.contentBasedDeduplication : undefined;
76
+ resourceInputs["endpoint"] = state ? state.endpoint : undefined;
77
+ resourceInputs["fifoQueue"] = state ? state.fifoQueue : undefined;
78
+ resourceInputs["messageMaxAge"] = state ? state.messageMaxAge : undefined;
79
+ resourceInputs["messageMaxSize"] = state ? state.messageMaxSize : undefined;
80
+ resourceInputs["name"] = state ? state.name : undefined;
81
+ resourceInputs["namePrefix"] = state ? state.namePrefix : undefined;
82
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
83
+ resourceInputs["receiveWaitTimeSeconds"] = state ? state.receiveWaitTimeSeconds : undefined;
84
+ resourceInputs["region"] = state ? state.region : undefined;
85
+ resourceInputs["secretKey"] = state ? state.secretKey : undefined;
86
+ resourceInputs["url"] = state ? state.url : undefined;
87
+ resourceInputs["visibilityTimeoutSeconds"] = state ? state.visibilityTimeoutSeconds : undefined;
88
+ }
89
+ else {
90
+ const args = argsOrState;
91
+ if ((!args || args.accessKey === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'accessKey'");
93
+ }
94
+ if ((!args || args.secretKey === undefined) && !opts.urn) {
95
+ throw new Error("Missing required property 'secretKey'");
96
+ }
97
+ resourceInputs["accessKey"] = (args === null || args === void 0 ? void 0 : args.accessKey) ? pulumi.secret(args.accessKey) : undefined;
98
+ resourceInputs["contentBasedDeduplication"] = args ? args.contentBasedDeduplication : undefined;
99
+ resourceInputs["endpoint"] = args ? args.endpoint : undefined;
100
+ resourceInputs["fifoQueue"] = args ? args.fifoQueue : undefined;
101
+ resourceInputs["messageMaxAge"] = args ? args.messageMaxAge : undefined;
102
+ resourceInputs["messageMaxSize"] = args ? args.messageMaxSize : undefined;
103
+ resourceInputs["name"] = args ? args.name : undefined;
104
+ resourceInputs["namePrefix"] = args ? args.namePrefix : undefined;
105
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
106
+ resourceInputs["receiveWaitTimeSeconds"] = args ? args.receiveWaitTimeSeconds : undefined;
107
+ resourceInputs["region"] = args ? args.region : undefined;
108
+ resourceInputs["secretKey"] = (args === null || args === void 0 ? void 0 : args.secretKey) ? pulumi.secret(args.secretKey) : undefined;
109
+ resourceInputs["visibilityTimeoutSeconds"] = args ? args.visibilityTimeoutSeconds : undefined;
110
+ resourceInputs["url"] = undefined /*out*/;
111
+ }
112
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
113
+ const secretOpts = { additionalSecretOutputs: ["accessKey", "secretKey"] };
114
+ opts = pulumi.mergeOptions(opts, secretOpts);
115
+ super(MnqSqsQueue.__pulumiType, name, resourceInputs, opts);
116
+ }
117
+ }
118
+ exports.MnqSqsQueue = MnqSqsQueue;
119
+ /** @internal */
120
+ MnqSqsQueue.__pulumiType = 'scaleway:index/mnqSqsQueue:MnqSqsQueue';
121
+ //# sourceMappingURL=mnqSqsQueue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mnqSqsQueue.js","sourceRoot":"","sources":["../mnqSqsQueue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmED,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,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