@volcengine/pulumi 0.0.45 → 0.0.47

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 (484) hide show
  1. package/autoscaling/getScalingGroups.d.ts +13 -0
  2. package/autoscaling/getScalingGroups.js +1 -0
  3. package/autoscaling/getScalingGroups.js.map +1 -1
  4. package/autoscaling/scalingGroups.d.ts +13 -0
  5. package/autoscaling/scalingGroups.js +1 -0
  6. package/autoscaling/scalingGroups.js.map +1 -1
  7. package/cloud_monitor/getRules.d.ts +13 -0
  8. package/cloud_monitor/getRules.js +1 -0
  9. package/cloud_monitor/getRules.js.map +1 -1
  10. package/cloud_monitor/rule.d.ts +16 -0
  11. package/cloud_monitor/rule.js +6 -0
  12. package/cloud_monitor/rule.js.map +1 -1
  13. package/cloud_monitor/rules.d.ts +13 -0
  14. package/cloud_monitor/rules.js +1 -0
  15. package/cloud_monitor/rules.js.map +1 -1
  16. package/ecs/getHpcClusters.d.ts +46 -0
  17. package/ecs/getHpcClusters.js +4 -0
  18. package/ecs/getHpcClusters.js.map +1 -1
  19. package/ecs/getKeyPairs.d.ts +25 -0
  20. package/ecs/getKeyPairs.js +2 -0
  21. package/ecs/getKeyPairs.js.map +1 -1
  22. package/ecs/getLaunchTemplates.d.ts +25 -0
  23. package/ecs/getLaunchTemplates.js +2 -0
  24. package/ecs/getLaunchTemplates.js.map +1 -1
  25. package/ecs/hpcCluster.d.ts +31 -0
  26. package/ecs/hpcCluster.js +9 -0
  27. package/ecs/hpcCluster.js.map +1 -1
  28. package/ecs/hpcClusters.d.ts +46 -0
  29. package/ecs/hpcClusters.js +4 -0
  30. package/ecs/hpcClusters.js.map +1 -1
  31. package/ecs/keyPair.d.ts +31 -0
  32. package/ecs/keyPair.js +9 -0
  33. package/ecs/keyPair.js.map +1 -1
  34. package/ecs/keyPairs.d.ts +25 -0
  35. package/ecs/keyPairs.js +2 -0
  36. package/ecs/keyPairs.js.map +1 -1
  37. package/ecs/launchTemplate.d.ts +53 -0
  38. package/ecs/launchTemplate.js +13 -0
  39. package/ecs/launchTemplate.js.map +1 -1
  40. package/ecs/launchTemplates.d.ts +25 -0
  41. package/ecs/launchTemplates.js +2 -0
  42. package/ecs/launchTemplates.js.map +1 -1
  43. package/iam/accessKeyLastUseds.d.ts +2 -2
  44. package/iam/accessKeyLastUseds.js +2 -2
  45. package/iam/allowedIpAddress.d.ts +2 -2
  46. package/iam/allowedIpAddress.js +2 -2
  47. package/iam/getAccessKeyLastUseds.d.ts +2 -2
  48. package/iam/getAccessKeyLastUseds.js +2 -2
  49. package/iam/loginProfile.d.ts +1 -1
  50. package/iam/loginProfile.js +1 -1
  51. package/iam/oauthProvider.d.ts +6 -6
  52. package/iam/oauthProvider.js +6 -6
  53. package/iam/oidcProvider.d.ts +4 -4
  54. package/iam/oidcProvider.js +4 -4
  55. package/iam/role.d.ts +5 -5
  56. package/iam/role.js +5 -5
  57. package/iam/serviceLinkedRole.d.ts +2 -2
  58. package/iam/serviceLinkedRole.js +2 -2
  59. package/iam/tag.d.ts +4 -4
  60. package/iam/tag.js +4 -4
  61. package/iam/user.d.ts +13 -7
  62. package/iam/user.js +13 -7
  63. package/iam/user.js.map +1 -1
  64. package/iam/userGroup.d.ts +2 -2
  65. package/iam/userGroup.js +2 -2
  66. package/iam/userGroupPolicyAttachment.d.ts +1 -1
  67. package/iam/userGroupPolicyAttachment.js +1 -1
  68. package/index.d.ts +2 -1
  69. package/index.js +4 -2
  70. package/index.js.map +1 -1
  71. package/kafka/getGroups.d.ts +13 -0
  72. package/kafka/getGroups.js +1 -0
  73. package/kafka/getGroups.js.map +1 -1
  74. package/kafka/getTopics.d.ts +13 -0
  75. package/kafka/getTopics.js +1 -0
  76. package/kafka/getTopics.js.map +1 -1
  77. package/kafka/group.d.ts +18 -0
  78. package/kafka/group.js +6 -0
  79. package/kafka/group.js.map +1 -1
  80. package/kafka/groups.d.ts +13 -0
  81. package/kafka/groups.js +1 -0
  82. package/kafka/groups.js.map +1 -1
  83. package/kafka/topic.d.ts +32 -0
  84. package/kafka/topic.js +12 -0
  85. package/kafka/topic.js.map +1 -1
  86. package/kafka/topics.d.ts +13 -0
  87. package/kafka/topics.js +1 -0
  88. package/kafka/topics.js.map +1 -1
  89. package/kms/asymmetricCiphertext.d.ts +129 -0
  90. package/kms/asymmetricCiphertext.js +90 -0
  91. package/kms/asymmetricCiphertext.js.map +1 -0
  92. package/kms/asymmetricCiphertexts.d.ts +129 -0
  93. package/kms/asymmetricCiphertexts.js +69 -0
  94. package/kms/asymmetricCiphertexts.js.map +1 -0
  95. package/kms/asymmetricPlaintexts.d.ts +129 -0
  96. package/kms/asymmetricPlaintexts.js +69 -0
  97. package/kms/asymmetricPlaintexts.js.map +1 -0
  98. package/kms/asymmetricSignature.d.ts +142 -0
  99. package/kms/asymmetricSignature.js +93 -0
  100. package/kms/asymmetricSignature.js.map +1 -0
  101. package/kms/asymmetricSignatures.d.ts +140 -0
  102. package/kms/asymmetricSignatures.js +72 -0
  103. package/kms/asymmetricSignatures.js.map +1 -0
  104. package/kms/asymmetricVerifications.d.ts +139 -0
  105. package/kms/asymmetricVerifications.js +63 -0
  106. package/kms/asymmetricVerifications.js.map +1 -0
  107. package/kms/cancelKeyDeletion.d.ts +105 -0
  108. package/kms/cancelKeyDeletion.js +80 -0
  109. package/kms/cancelKeyDeletion.js.map +1 -0
  110. package/kms/cancelSecretDeletion.d.ts +75 -0
  111. package/kms/cancelSecretDeletion.js +73 -0
  112. package/kms/cancelSecretDeletion.js.map +1 -0
  113. package/kms/ciphertext.d.ts +122 -0
  114. package/kms/ciphertext.js +80 -0
  115. package/kms/ciphertext.js.map +1 -0
  116. package/kms/ciphertexts.d.ts +115 -0
  117. package/kms/ciphertexts.js +55 -0
  118. package/kms/ciphertexts.js.map +1 -0
  119. package/kms/dataKeys.d.ts +121 -0
  120. package/kms/dataKeys.js +62 -0
  121. package/kms/dataKeys.js.map +1 -0
  122. package/kms/getAsymmetricCiphertexts.d.ts +127 -0
  123. package/kms/getAsymmetricCiphertexts.js +66 -0
  124. package/kms/getAsymmetricCiphertexts.js.map +1 -0
  125. package/kms/getAsymmetricPlaintexts.d.ts +127 -0
  126. package/kms/getAsymmetricPlaintexts.js +66 -0
  127. package/kms/getAsymmetricPlaintexts.js.map +1 -0
  128. package/kms/getAsymmetricSignatures.d.ts +138 -0
  129. package/kms/getAsymmetricSignatures.js +69 -0
  130. package/kms/getAsymmetricSignatures.js.map +1 -0
  131. package/kms/getAsymmetricVerifications.d.ts +137 -0
  132. package/kms/getAsymmetricVerifications.js +60 -0
  133. package/kms/getAsymmetricVerifications.js.map +1 -0
  134. package/kms/getCiphertexts.d.ts +113 -0
  135. package/kms/getCiphertexts.js +52 -0
  136. package/kms/getCiphertexts.js.map +1 -0
  137. package/kms/getDataKeys.d.ts +119 -0
  138. package/kms/getDataKeys.js +59 -0
  139. package/kms/getDataKeys.js.map +1 -0
  140. package/kms/getKeyMaterials.d.ts +120 -0
  141. package/kms/getKeyMaterials.js +57 -0
  142. package/kms/getKeyMaterials.js.map +1 -0
  143. package/kms/getKeys.d.ts +10 -10
  144. package/kms/getMacVerifications.d.ts +139 -0
  145. package/kms/getMacVerifications.js +67 -0
  146. package/kms/getMacVerifications.js.map +1 -0
  147. package/kms/getMacs.d.ts +130 -0
  148. package/kms/getMacs.js +66 -0
  149. package/kms/getMacs.js.map +1 -0
  150. package/kms/getPlaintexts.d.ts +94 -0
  151. package/kms/getPlaintexts.js +57 -0
  152. package/kms/getPlaintexts.js.map +1 -0
  153. package/kms/getPublicKeys.d.ts +98 -0
  154. package/kms/getPublicKeys.js +51 -0
  155. package/kms/getPublicKeys.js.map +1 -0
  156. package/kms/getReEncrypts.d.ts +132 -0
  157. package/kms/getReEncrypts.js +63 -0
  158. package/kms/getReEncrypts.js.map +1 -0
  159. package/kms/getRegions.d.ts +62 -0
  160. package/kms/getRegions.js +42 -0
  161. package/kms/getRegions.js.map +1 -0
  162. package/kms/getSecretVersions.d.ts +75 -0
  163. package/kms/getSecretVersions.js +46 -0
  164. package/kms/getSecretVersions.js.map +1 -0
  165. package/kms/getSecrets.d.ts +12 -0
  166. package/kms/getSecrets.js +1 -0
  167. package/kms/getSecrets.js.map +1 -1
  168. package/kms/index.d.ts +120 -0
  169. package/kms/index.js +146 -1
  170. package/kms/index.js.map +1 -1
  171. package/kms/key.d.ts +98 -24
  172. package/kms/key.js +44 -0
  173. package/kms/key.js.map +1 -1
  174. package/kms/keyArchive.d.ts +6 -6
  175. package/kms/keyEnable.d.ts +6 -6
  176. package/kms/keyMaterial.d.ts +141 -0
  177. package/kms/keyMaterial.js +88 -0
  178. package/kms/keyMaterial.js.map +1 -0
  179. package/kms/keyMaterials.d.ts +122 -0
  180. package/kms/keyMaterials.js +60 -0
  181. package/kms/keyMaterials.js.map +1 -0
  182. package/kms/keyPrimaryRegion.d.ts +113 -0
  183. package/kms/keyPrimaryRegion.js +87 -0
  184. package/kms/keyPrimaryRegion.js.map +1 -0
  185. package/kms/keyRotation.d.ts +22 -7
  186. package/kms/keyRotation.js +6 -1
  187. package/kms/keyRotation.js.map +1 -1
  188. package/kms/keyring.d.ts +3 -3
  189. package/kms/keys.d.ts +10 -10
  190. package/kms/macVerifications.d.ts +141 -0
  191. package/kms/macVerifications.js +70 -0
  192. package/kms/macVerifications.js.map +1 -0
  193. package/kms/macs.d.ts +132 -0
  194. package/kms/macs.js +69 -0
  195. package/kms/macs.js.map +1 -0
  196. package/kms/plaintexts.d.ts +96 -0
  197. package/kms/plaintexts.js +60 -0
  198. package/kms/plaintexts.js.map +1 -0
  199. package/kms/publicKeys.d.ts +100 -0
  200. package/kms/publicKeys.js +54 -0
  201. package/kms/publicKeys.js.map +1 -0
  202. package/kms/reEncrypt.d.ts +138 -0
  203. package/kms/reEncrypt.js +86 -0
  204. package/kms/reEncrypt.js.map +1 -0
  205. package/kms/reEncrypts.d.ts +134 -0
  206. package/kms/reEncrypts.js +66 -0
  207. package/kms/reEncrypts.js.map +1 -0
  208. package/kms/regions.d.ts +64 -0
  209. package/kms/regions.js +45 -0
  210. package/kms/regions.js.map +1 -0
  211. package/kms/replicateKey.d.ts +144 -0
  212. package/kms/replicateKey.js +90 -0
  213. package/kms/replicateKey.js.map +1 -0
  214. package/kms/secret.d.ts +70 -12
  215. package/kms/secret.js +22 -0
  216. package/kms/secret.js.map +1 -1
  217. package/kms/secretBackup.d.ts +91 -0
  218. package/kms/secretBackup.js +77 -0
  219. package/kms/secretBackup.js.map +1 -0
  220. package/kms/secretRestore.d.ts +92 -0
  221. package/kms/secretRestore.js +82 -0
  222. package/kms/secretRestore.js.map +1 -0
  223. package/kms/secretRotate.d.ts +82 -0
  224. package/kms/secretRotate.js +76 -0
  225. package/kms/secretRotate.js.map +1 -0
  226. package/kms/secretVersions.d.ts +77 -0
  227. package/kms/secretVersions.js +49 -0
  228. package/kms/secretVersions.js.map +1 -0
  229. package/kms/secrets.d.ts +12 -0
  230. package/kms/secrets.js +1 -0
  231. package/kms/secrets.js.map +1 -1
  232. package/nlb/backendServer.d.ts +62 -0
  233. package/nlb/backendServer.js +57 -0
  234. package/nlb/backendServer.js.map +1 -0
  235. package/nlb/getListenerHealths.d.ts +31 -0
  236. package/nlb/getListenerHealths.js +20 -0
  237. package/nlb/getListenerHealths.js.map +1 -0
  238. package/nlb/getListeners.d.ts +44 -0
  239. package/nlb/getListeners.js +25 -0
  240. package/nlb/getListeners.js.map +1 -0
  241. package/nlb/getNetworkLoadBalancerAttributes.d.ts +31 -0
  242. package/nlb/getNetworkLoadBalancerAttributes.js +20 -0
  243. package/nlb/getNetworkLoadBalancerAttributes.js.map +1 -0
  244. package/nlb/getNetworkLoadBalancers.d.ts +53 -0
  245. package/nlb/getNetworkLoadBalancers.js +28 -0
  246. package/nlb/getNetworkLoadBalancers.js.map +1 -0
  247. package/nlb/getServerGroupAttributes.d.ts +31 -0
  248. package/nlb/getServerGroupAttributes.js +20 -0
  249. package/nlb/getServerGroupAttributes.js.map +1 -0
  250. package/nlb/getServerGroups.d.ts +53 -0
  251. package/nlb/getServerGroups.js +28 -0
  252. package/nlb/getServerGroups.js.map +1 -0
  253. package/nlb/getTags.d.ts +41 -0
  254. package/nlb/getTags.js +23 -0
  255. package/nlb/getTags.js.map +1 -0
  256. package/nlb/getZones.d.ts +28 -0
  257. package/nlb/getZones.js +20 -0
  258. package/nlb/getZones.js.map +1 -0
  259. package/nlb/index.d.ts +63 -0
  260. package/nlb/index.js +90 -0
  261. package/nlb/index.js.map +1 -0
  262. package/nlb/listener.d.ts +194 -0
  263. package/nlb/listener.js +87 -0
  264. package/nlb/listener.js.map +1 -0
  265. package/nlb/listenerHealths.d.ts +33 -0
  266. package/nlb/listenerHealths.js +23 -0
  267. package/nlb/listenerHealths.js.map +1 -0
  268. package/nlb/listeners.d.ts +46 -0
  269. package/nlb/listeners.js +28 -0
  270. package/nlb/listeners.js.map +1 -0
  271. package/nlb/networkLoadBalancer.d.ts +338 -0
  272. package/nlb/networkLoadBalancer.js +115 -0
  273. package/nlb/networkLoadBalancer.js.map +1 -0
  274. package/nlb/networkLoadBalancerAttributes.d.ts +33 -0
  275. package/nlb/networkLoadBalancerAttributes.js +23 -0
  276. package/nlb/networkLoadBalancerAttributes.js.map +1 -0
  277. package/nlb/networkLoadBalancers.d.ts +55 -0
  278. package/nlb/networkLoadBalancers.js +31 -0
  279. package/nlb/networkLoadBalancers.js.map +1 -0
  280. package/nlb/serverGroup.d.ts +294 -0
  281. package/nlb/serverGroup.js +97 -0
  282. package/nlb/serverGroup.js.map +1 -0
  283. package/nlb/serverGroupAttributes.d.ts +33 -0
  284. package/nlb/serverGroupAttributes.js +23 -0
  285. package/nlb/serverGroupAttributes.js.map +1 -0
  286. package/nlb/serverGroups.d.ts +55 -0
  287. package/nlb/serverGroups.js +31 -0
  288. package/nlb/serverGroups.js.map +1 -0
  289. package/nlb/tag.d.ts +65 -0
  290. package/nlb/tag.js +59 -0
  291. package/nlb/tag.js.map +1 -0
  292. package/nlb/tags.d.ts +43 -0
  293. package/nlb/tags.js +26 -0
  294. package/nlb/tags.js.map +1 -0
  295. package/nlb/zones.d.ts +30 -0
  296. package/nlb/zones.js +23 -0
  297. package/nlb/zones.js.map +1 -0
  298. package/package.json +1 -1
  299. package/privatelink/getVpcEndpointServices.d.ts +25 -0
  300. package/privatelink/getVpcEndpointServices.js +2 -0
  301. package/privatelink/getVpcEndpointServices.js.map +1 -1
  302. package/privatelink/getVpcEndpoints.d.ts +25 -0
  303. package/privatelink/getVpcEndpoints.js +2 -0
  304. package/privatelink/getVpcEndpoints.js.map +1 -1
  305. package/privatelink/getVpcGatewayEndpoints.d.ts +113 -0
  306. package/privatelink/getVpcGatewayEndpoints.js +32 -0
  307. package/privatelink/getVpcGatewayEndpoints.js.map +1 -0
  308. package/privatelink/index.d.ts +9 -0
  309. package/privatelink/index.js +12 -1
  310. package/privatelink/index.js.map +1 -1
  311. package/privatelink/vpcEndpoint.d.ts +36 -0
  312. package/privatelink/vpcEndpoint.js +14 -0
  313. package/privatelink/vpcEndpoint.js.map +1 -1
  314. package/privatelink/vpcEndpointService.d.ts +29 -0
  315. package/privatelink/vpcEndpointService.js +9 -0
  316. package/privatelink/vpcEndpointService.js.map +1 -1
  317. package/privatelink/vpcEndpointServices.d.ts +25 -0
  318. package/privatelink/vpcEndpointServices.js +2 -0
  319. package/privatelink/vpcEndpointServices.js.map +1 -1
  320. package/privatelink/vpcEndpoints.d.ts +25 -0
  321. package/privatelink/vpcEndpoints.js +2 -0
  322. package/privatelink/vpcEndpoints.js.map +1 -1
  323. package/privatelink/vpcGatewayEndpoint.d.ts +140 -0
  324. package/privatelink/vpcGatewayEndpoint.js +79 -0
  325. package/privatelink/vpcGatewayEndpoint.js.map +1 -0
  326. package/privatelink/vpcGatewayEndpoints.d.ts +115 -0
  327. package/privatelink/vpcGatewayEndpoints.js +35 -0
  328. package/privatelink/vpcGatewayEndpoints.js.map +1 -0
  329. package/tls/alarm.d.ts +3 -3
  330. package/tls/alarm.js +3 -3
  331. package/tls/alarmContentTemplate.d.ts +2 -2
  332. package/tls/alarmContentTemplate.js +2 -2
  333. package/tls/alarmNotifyGroup.d.ts +27 -0
  334. package/tls/alarmNotifyGroup.js +27 -0
  335. package/tls/alarmNotifyGroup.js.map +1 -1
  336. package/tls/alarmNotifyGroups.d.ts +6 -2
  337. package/tls/alarmNotifyGroups.js +6 -2
  338. package/tls/alarmNotifyGroups.js.map +1 -1
  339. package/tls/alarmWebhookIntegration.d.ts +3 -3
  340. package/tls/alarmWebhookIntegration.js +3 -3
  341. package/tls/consumerGroup.d.ts +6 -3
  342. package/tls/consumerGroup.js +6 -3
  343. package/tls/consumerGroup.js.map +1 -1
  344. package/tls/etlTask.d.ts +6 -4
  345. package/tls/etlTask.js +6 -4
  346. package/tls/etlTask.js.map +1 -1
  347. package/tls/etlTasks.d.ts +6 -2
  348. package/tls/etlTasks.js +6 -2
  349. package/tls/etlTasks.js.map +1 -1
  350. package/tls/getAlarmNotifyGroups.d.ts +6 -2
  351. package/tls/getAlarmNotifyGroups.js +6 -2
  352. package/tls/getAlarmNotifyGroups.js.map +1 -1
  353. package/tls/getEtlTasks.d.ts +6 -2
  354. package/tls/getEtlTasks.js +6 -2
  355. package/tls/getEtlTasks.js.map +1 -1
  356. package/tls/getHostGroups.d.ts +6 -2
  357. package/tls/getHostGroups.js +6 -2
  358. package/tls/getHostGroups.js.map +1 -1
  359. package/tls/getImportTasks.d.ts +6 -2
  360. package/tls/getImportTasks.js +6 -2
  361. package/tls/getImportTasks.js.map +1 -1
  362. package/tls/getKafkaConsumers.d.ts +2 -10
  363. package/tls/getKafkaConsumers.js +2 -10
  364. package/tls/getKafkaConsumers.js.map +1 -1
  365. package/tls/getLogSearches.d.ts +6 -6
  366. package/tls/getLogSearches.js +6 -6
  367. package/tls/getShippers.d.ts +6 -2
  368. package/tls/getShippers.js +6 -2
  369. package/tls/getShippers.js.map +1 -1
  370. package/tls/getTraceInstances.d.ts +2 -10
  371. package/tls/getTraceInstances.js +2 -10
  372. package/tls/getTraceInstances.js.map +1 -1
  373. package/tls/hostGroup.d.ts +0 -10
  374. package/tls/hostGroup.js +0 -10
  375. package/tls/hostGroup.js.map +1 -1
  376. package/tls/hostGroups.d.ts +6 -2
  377. package/tls/hostGroups.js +6 -2
  378. package/tls/hostGroups.js.map +1 -1
  379. package/tls/importTask.d.ts +2 -2
  380. package/tls/importTask.js +2 -2
  381. package/tls/importTasks.d.ts +6 -2
  382. package/tls/importTasks.js +6 -2
  383. package/tls/importTasks.js.map +1 -1
  384. package/tls/index_.d.ts +6 -10
  385. package/tls/index_.js +6 -10
  386. package/tls/index_.js.map +1 -1
  387. package/tls/kafkaConsumer.d.ts +1 -1
  388. package/tls/kafkaConsumer.js +1 -1
  389. package/tls/kafkaConsumers.d.ts +2 -10
  390. package/tls/kafkaConsumers.js +2 -10
  391. package/tls/kafkaConsumers.js.map +1 -1
  392. package/tls/logSearches.d.ts +6 -6
  393. package/tls/logSearches.js +6 -6
  394. package/tls/project.d.ts +3 -3
  395. package/tls/project.js +3 -3
  396. package/tls/rule.d.ts +16 -16
  397. package/tls/rule.js +16 -16
  398. package/tls/shard.d.ts +1 -1
  399. package/tls/shard.js +1 -1
  400. package/tls/shipper.d.ts +2 -2
  401. package/tls/shipper.js +2 -2
  402. package/tls/shippers.d.ts +6 -2
  403. package/tls/shippers.js +6 -2
  404. package/tls/shippers.js.map +1 -1
  405. package/tls/tag.d.ts +0 -5
  406. package/tls/tag.js +0 -5
  407. package/tls/tag.js.map +1 -1
  408. package/tls/tagResource.d.ts +0 -4
  409. package/tls/tagResource.js +0 -4
  410. package/tls/tagResource.js.map +1 -1
  411. package/tls/topic.d.ts +7 -2
  412. package/tls/topic.js +7 -2
  413. package/tls/topic.js.map +1 -1
  414. package/tls/traceInstance.d.ts +7 -10
  415. package/tls/traceInstance.js +7 -10
  416. package/tls/traceInstance.js.map +1 -1
  417. package/tls/traceInstances.d.ts +2 -10
  418. package/tls/traceInstances.js +2 -10
  419. package/tls/traceInstances.js.map +1 -1
  420. package/types/input.d.ts +1294 -42
  421. package/types/output.d.ts +4152 -404
  422. package/vmp/alertingRule.d.ts +12 -0
  423. package/vmp/alertingRule.js +2 -0
  424. package/vmp/alertingRule.js.map +1 -1
  425. package/vmp/alertingRules.d.ts +13 -0
  426. package/vmp/alertingRules.js +1 -0
  427. package/vmp/alertingRules.js.map +1 -1
  428. package/vmp/getAlertingRules.d.ts +13 -0
  429. package/vmp/getAlertingRules.js +1 -0
  430. package/vmp/getAlertingRules.js.map +1 -1
  431. package/vpc/getIpv6AddressBandwidths.d.ts +10 -0
  432. package/vpc/getIpv6AddressBandwidths.js +1 -0
  433. package/vpc/getIpv6AddressBandwidths.js.map +1 -1
  434. package/vpc/getIpv6Gateways.d.ts +25 -0
  435. package/vpc/getIpv6Gateways.js +2 -0
  436. package/vpc/getIpv6Gateways.js.map +1 -1
  437. package/vpc/ipv6AddressBandwidth.d.ts +14 -0
  438. package/vpc/ipv6AddressBandwidth.js +2 -0
  439. package/vpc/ipv6AddressBandwidth.js.map +1 -1
  440. package/vpc/ipv6AddressBandwidths.d.ts +10 -0
  441. package/vpc/ipv6AddressBandwidths.js +1 -0
  442. package/vpc/ipv6AddressBandwidths.js.map +1 -1
  443. package/vpc/ipv6Gateway.d.ts +26 -0
  444. package/vpc/ipv6Gateway.js +4 -0
  445. package/vpc/ipv6Gateway.js.map +1 -1
  446. package/vpc/ipv6Gateways.d.ts +25 -0
  447. package/vpc/ipv6Gateways.js +2 -0
  448. package/vpc/ipv6Gateways.js.map +1 -1
  449. package/vpn/connection.d.ts +14 -0
  450. package/vpn/connection.js +2 -0
  451. package/vpn/connection.js.map +1 -1
  452. package/vpn/connections.d.ts +13 -0
  453. package/vpn/connections.js +1 -0
  454. package/vpn/connections.js.map +1 -1
  455. package/vpn/customerGateway.d.ts +26 -0
  456. package/vpn/customerGateway.js +4 -0
  457. package/vpn/customerGateway.js.map +1 -1
  458. package/vpn/customerGateways.d.ts +40 -0
  459. package/vpn/customerGateways.js +3 -0
  460. package/vpn/customerGateways.js.map +1 -1
  461. package/vpn/getConnections.d.ts +13 -0
  462. package/vpn/getConnections.js +1 -0
  463. package/vpn/getConnections.js.map +1 -1
  464. package/vpn/getCustomerGateways.d.ts +40 -0
  465. package/vpn/getCustomerGateways.js +3 -0
  466. package/vpn/getCustomerGateways.js.map +1 -1
  467. package/vpn/getSslVpnClientCerts.d.ts +10 -0
  468. package/vpn/getSslVpnClientCerts.js +1 -0
  469. package/vpn/getSslVpnClientCerts.js.map +1 -1
  470. package/vpn/getSslVpnServers.d.ts +25 -0
  471. package/vpn/getSslVpnServers.js +2 -0
  472. package/vpn/getSslVpnServers.js.map +1 -1
  473. package/vpn/sslVpnClientCert.d.ts +14 -0
  474. package/vpn/sslVpnClientCert.js +2 -0
  475. package/vpn/sslVpnClientCert.js.map +1 -1
  476. package/vpn/sslVpnClientCerts.d.ts +10 -0
  477. package/vpn/sslVpnClientCerts.js +1 -0
  478. package/vpn/sslVpnClientCerts.js.map +1 -1
  479. package/vpn/sslVpnServer.d.ts +14 -0
  480. package/vpn/sslVpnServer.js +2 -0
  481. package/vpn/sslVpnServer.js.map +1 -1
  482. package/vpn/sslVpnServers.d.ts +25 -0
  483. package/vpn/sslVpnServers.js +2 -0
  484. package/vpn/sslVpnServers.js.map +1 -1
package/kms/key.d.ts CHANGED
@@ -23,6 +23,44 @@ import * as outputs from "../types/output";
23
23
  * value: "tfvalue3",
24
24
  * }],
25
25
  * });
26
+ * const foo1 = new volcengine.kms.Key("foo1", {
27
+ * keyringName: fooKeyring.keyringName,
28
+ * keyName: "Tf-test-key-1",
29
+ * rotateState: "Enable",
30
+ * rotateInterval: 90,
31
+ * keySpec: "SYMMETRIC_128",
32
+ * description: "Tf test key with SYMMETRIC_128",
33
+ * keyUsage: "ENCRYPT_DECRYPT",
34
+ * protectionLevel: "SOFTWARE",
35
+ * origin: "CloudKMS",
36
+ * multiRegion: false,
37
+ * pendingWindowInDays: 30,
38
+ * tags: [
39
+ * {
40
+ * key: "tfk1",
41
+ * value: "tfv1",
42
+ * },
43
+ * {
44
+ * key: "tfk2",
45
+ * value: "tfv2",
46
+ * },
47
+ * ],
48
+ * });
49
+ * const foo2 = new volcengine.kms.Key("foo2", {
50
+ * keyringName: fooKeyring.keyringName,
51
+ * keyName: "mrk-Tf-test-key-2",
52
+ * keyUsage: "ENCRYPT_DECRYPT",
53
+ * origin: "External",
54
+ * multiRegion: true,
55
+ * });
56
+ * const _default = new volcengine.kms.KeyMaterial("default", {
57
+ * keyringName: fooKeyring.keyringName,
58
+ * keyName: foo2.keyName,
59
+ * encryptedKeyMaterial: "***",
60
+ * importToken: "***",
61
+ * expirationModel: "KEY_MATERIAL_EXPIRES",
62
+ * validTo: 1770999621,
63
+ * });
26
64
  * ```
27
65
  *
28
66
  * ## Import
@@ -53,6 +91,10 @@ export declare class Key extends pulumi.CustomResource {
53
91
  * The date when the keyring was created.
54
92
  */
55
93
  readonly creationDate: pulumi.Output<number>;
94
+ /**
95
+ * The ID of the custom key store.
96
+ */
97
+ readonly customKeyStoreId: pulumi.Output<string | undefined>;
56
98
  /**
57
99
  * The description of the key.
58
100
  */
@@ -62,15 +104,15 @@ export declare class Key extends pulumi.CustomResource {
62
104
  */
63
105
  readonly keyMaterialExpireTime: pulumi.Output<string>;
64
106
  /**
65
- * The name of the CMK.
107
+ * The name of the key.
66
108
  */
67
109
  readonly keyName: pulumi.Output<string>;
68
110
  /**
69
- * The type of the keys.
111
+ * The type of the key. Valid values: SYMMETRIC_256, SYMMETRIC_128, RSA_2048, RSA_3072, RSA_4096, EC_P256K, EC_P256, EC_P384, EC_P521, EC_SM2. Default value: SYMMETRIC_256.
70
112
  */
71
113
  readonly keySpec: pulumi.Output<string>;
72
114
  /**
73
- * The usage of the key.
115
+ * The usage of the key. Valid values: ENCRYPT_DECRYPT, SIGN_VERIFY, GENERATE_VERIFY_MAC. Default value: ENCRYPT_DECRYPT.
74
116
  */
75
117
  readonly keyUsage: pulumi.Output<string>;
76
118
  /**
@@ -82,7 +124,7 @@ export declare class Key extends pulumi.CustomResource {
82
124
  */
83
125
  readonly lastRotationTime: pulumi.Output<string>;
84
126
  /**
85
- * Whether it is the master key of the Multi-region type.
127
+ * Whether it is the master key of the Multi-region type. When multiRegion is true, the key name must start with "mrk-".
86
128
  */
87
129
  readonly multiRegion: pulumi.Output<boolean>;
88
130
  /**
@@ -90,19 +132,23 @@ export declare class Key extends pulumi.CustomResource {
90
132
  */
91
133
  readonly multiRegionConfiguration: pulumi.Output<outputs.kms.KeyMultiRegionConfiguration>;
92
134
  /**
93
- * The origin of the key.
135
+ * The origin of the key. Valid values: CloudKMS, External, ExternalKeyStore. Default value: CloudKMS.
94
136
  */
95
137
  readonly origin: pulumi.Output<string>;
96
138
  /**
97
- * The pre-deletion cycle of the key.
139
+ * The pre-deletion cycle of the key. Valid values: [7, 30]. Default value: 7.
98
140
  */
99
141
  readonly pendingWindowInDays: pulumi.Output<number | undefined>;
100
142
  /**
101
- * The protection level of the key.
143
+ * The protection level of the key. Valid values: SOFTWARE, HSM. Default value: SOFTWARE.
102
144
  */
103
145
  readonly protectionLevel: pulumi.Output<string>;
104
146
  /**
105
- * The rotation state of the key.
147
+ * Key rotation period, unit: days; value range: [90, 2560], required when rotateState is Enable.
148
+ */
149
+ readonly rotateInterval: pulumi.Output<number | undefined>;
150
+ /**
151
+ * The rotation state of the key. Valid values: Enable, Disable. Only symmetric keys support rotation.
106
152
  */
107
153
  readonly rotateState: pulumi.Output<string | undefined>;
108
154
  /**
@@ -133,6 +179,10 @@ export declare class Key extends pulumi.CustomResource {
133
179
  * The date when the keyring was updated.
134
180
  */
135
181
  readonly updateDate: pulumi.Output<number>;
182
+ /**
183
+ * The ID of the external key store.
184
+ */
185
+ readonly xksKeyId: pulumi.Output<string | undefined>;
136
186
  /**
137
187
  * Create a Key resource with the given unique name, arguments, and options.
138
188
  *
@@ -150,6 +200,10 @@ export interface KeyState {
150
200
  * The date when the keyring was created.
151
201
  */
152
202
  creationDate?: pulumi.Input<number>;
203
+ /**
204
+ * The ID of the custom key store.
205
+ */
206
+ customKeyStoreId?: pulumi.Input<string>;
153
207
  /**
154
208
  * The description of the key.
155
209
  */
@@ -159,15 +213,15 @@ export interface KeyState {
159
213
  */
160
214
  keyMaterialExpireTime?: pulumi.Input<string>;
161
215
  /**
162
- * The name of the CMK.
216
+ * The name of the key.
163
217
  */
164
218
  keyName?: pulumi.Input<string>;
165
219
  /**
166
- * The type of the keys.
220
+ * The type of the key. Valid values: SYMMETRIC_256, SYMMETRIC_128, RSA_2048, RSA_3072, RSA_4096, EC_P256K, EC_P256, EC_P384, EC_P521, EC_SM2. Default value: SYMMETRIC_256.
167
221
  */
168
222
  keySpec?: pulumi.Input<string>;
169
223
  /**
170
- * The usage of the key.
224
+ * The usage of the key. Valid values: ENCRYPT_DECRYPT, SIGN_VERIFY, GENERATE_VERIFY_MAC. Default value: ENCRYPT_DECRYPT.
171
225
  */
172
226
  keyUsage?: pulumi.Input<string>;
173
227
  /**
@@ -179,7 +233,7 @@ export interface KeyState {
179
233
  */
180
234
  lastRotationTime?: pulumi.Input<string>;
181
235
  /**
182
- * Whether it is the master key of the Multi-region type.
236
+ * Whether it is the master key of the Multi-region type. When multiRegion is true, the key name must start with "mrk-".
183
237
  */
184
238
  multiRegion?: pulumi.Input<boolean>;
185
239
  /**
@@ -187,19 +241,23 @@ export interface KeyState {
187
241
  */
188
242
  multiRegionConfiguration?: pulumi.Input<inputs.kms.KeyMultiRegionConfiguration>;
189
243
  /**
190
- * The origin of the key.
244
+ * The origin of the key. Valid values: CloudKMS, External, ExternalKeyStore. Default value: CloudKMS.
191
245
  */
192
246
  origin?: pulumi.Input<string>;
193
247
  /**
194
- * The pre-deletion cycle of the key.
248
+ * The pre-deletion cycle of the key. Valid values: [7, 30]. Default value: 7.
195
249
  */
196
250
  pendingWindowInDays?: pulumi.Input<number>;
197
251
  /**
198
- * The protection level of the key.
252
+ * The protection level of the key. Valid values: SOFTWARE, HSM. Default value: SOFTWARE.
199
253
  */
200
254
  protectionLevel?: pulumi.Input<string>;
201
255
  /**
202
- * The rotation state of the key.
256
+ * Key rotation period, unit: days; value range: [90, 2560], required when rotateState is Enable.
257
+ */
258
+ rotateInterval?: pulumi.Input<number>;
259
+ /**
260
+ * The rotation state of the key. Valid values: Enable, Disable. Only symmetric keys support rotation.
203
261
  */
204
262
  rotateState?: pulumi.Input<string>;
205
263
  /**
@@ -230,25 +288,33 @@ export interface KeyState {
230
288
  * The date when the keyring was updated.
231
289
  */
232
290
  updateDate?: pulumi.Input<number>;
291
+ /**
292
+ * The ID of the external key store.
293
+ */
294
+ xksKeyId?: pulumi.Input<string>;
233
295
  }
234
296
  /**
235
297
  * The set of arguments for constructing a Key resource.
236
298
  */
237
299
  export interface KeyArgs {
300
+ /**
301
+ * The ID of the custom key store.
302
+ */
303
+ customKeyStoreId?: pulumi.Input<string>;
238
304
  /**
239
305
  * The description of the key.
240
306
  */
241
307
  description?: pulumi.Input<string>;
242
308
  /**
243
- * The name of the CMK.
309
+ * The name of the key.
244
310
  */
245
311
  keyName: pulumi.Input<string>;
246
312
  /**
247
- * The type of the keys.
313
+ * The type of the key. Valid values: SYMMETRIC_256, SYMMETRIC_128, RSA_2048, RSA_3072, RSA_4096, EC_P256K, EC_P256, EC_P384, EC_P521, EC_SM2. Default value: SYMMETRIC_256.
248
314
  */
249
315
  keySpec?: pulumi.Input<string>;
250
316
  /**
251
- * The usage of the key.
317
+ * The usage of the key. Valid values: ENCRYPT_DECRYPT, SIGN_VERIFY, GENERATE_VERIFY_MAC. Default value: ENCRYPT_DECRYPT.
252
318
  */
253
319
  keyUsage?: pulumi.Input<string>;
254
320
  /**
@@ -256,27 +322,35 @@ export interface KeyArgs {
256
322
  */
257
323
  keyringName: pulumi.Input<string>;
258
324
  /**
259
- * Whether it is the master key of the Multi-region type.
325
+ * Whether it is the master key of the Multi-region type. When multiRegion is true, the key name must start with "mrk-".
260
326
  */
261
327
  multiRegion?: pulumi.Input<boolean>;
262
328
  /**
263
- * The origin of the key.
329
+ * The origin of the key. Valid values: CloudKMS, External, ExternalKeyStore. Default value: CloudKMS.
264
330
  */
265
331
  origin?: pulumi.Input<string>;
266
332
  /**
267
- * The pre-deletion cycle of the key.
333
+ * The pre-deletion cycle of the key. Valid values: [7, 30]. Default value: 7.
268
334
  */
269
335
  pendingWindowInDays?: pulumi.Input<number>;
270
336
  /**
271
- * The protection level of the key.
337
+ * The protection level of the key. Valid values: SOFTWARE, HSM. Default value: SOFTWARE.
272
338
  */
273
339
  protectionLevel?: pulumi.Input<string>;
274
340
  /**
275
- * The rotation state of the key.
341
+ * Key rotation period, unit: days; value range: [90, 2560], required when rotateState is Enable.
342
+ */
343
+ rotateInterval?: pulumi.Input<number>;
344
+ /**
345
+ * The rotation state of the key. Valid values: Enable, Disable. Only symmetric keys support rotation.
276
346
  */
277
347
  rotateState?: pulumi.Input<string>;
278
348
  /**
279
349
  * Tags.
280
350
  */
281
351
  tags?: pulumi.Input<pulumi.Input<inputs.kms.KeyTag>[]>;
352
+ /**
353
+ * The ID of the external key store.
354
+ */
355
+ xksKeyId?: pulumi.Input<string>;
282
356
  }
package/kms/key.js CHANGED
@@ -27,6 +27,44 @@ const utilities = require("../utilities");
27
27
  * value: "tfvalue3",
28
28
  * }],
29
29
  * });
30
+ * const foo1 = new volcengine.kms.Key("foo1", {
31
+ * keyringName: fooKeyring.keyringName,
32
+ * keyName: "Tf-test-key-1",
33
+ * rotateState: "Enable",
34
+ * rotateInterval: 90,
35
+ * keySpec: "SYMMETRIC_128",
36
+ * description: "Tf test key with SYMMETRIC_128",
37
+ * keyUsage: "ENCRYPT_DECRYPT",
38
+ * protectionLevel: "SOFTWARE",
39
+ * origin: "CloudKMS",
40
+ * multiRegion: false,
41
+ * pendingWindowInDays: 30,
42
+ * tags: [
43
+ * {
44
+ * key: "tfk1",
45
+ * value: "tfv1",
46
+ * },
47
+ * {
48
+ * key: "tfk2",
49
+ * value: "tfv2",
50
+ * },
51
+ * ],
52
+ * });
53
+ * const foo2 = new volcengine.kms.Key("foo2", {
54
+ * keyringName: fooKeyring.keyringName,
55
+ * keyName: "mrk-Tf-test-key-2",
56
+ * keyUsage: "ENCRYPT_DECRYPT",
57
+ * origin: "External",
58
+ * multiRegion: true,
59
+ * });
60
+ * const _default = new volcengine.kms.KeyMaterial("default", {
61
+ * keyringName: fooKeyring.keyringName,
62
+ * keyName: foo2.keyName,
63
+ * encryptedKeyMaterial: "***",
64
+ * importToken: "***",
65
+ * expirationModel: "KEY_MATERIAL_EXPIRES",
66
+ * validTo: 1770999621,
67
+ * });
30
68
  * ```
31
69
  *
32
70
  * ## Import
@@ -66,6 +104,7 @@ class Key extends pulumi.CustomResource {
66
104
  if (opts.id) {
67
105
  const state = argsOrState;
68
106
  resourceInputs["creationDate"] = state ? state.creationDate : undefined;
107
+ resourceInputs["customKeyStoreId"] = state ? state.customKeyStoreId : undefined;
69
108
  resourceInputs["description"] = state ? state.description : undefined;
70
109
  resourceInputs["keyMaterialExpireTime"] = state ? state.keyMaterialExpireTime : undefined;
71
110
  resourceInputs["keyName"] = state ? state.keyName : undefined;
@@ -78,6 +117,7 @@ class Key extends pulumi.CustomResource {
78
117
  resourceInputs["origin"] = state ? state.origin : undefined;
79
118
  resourceInputs["pendingWindowInDays"] = state ? state.pendingWindowInDays : undefined;
80
119
  resourceInputs["protectionLevel"] = state ? state.protectionLevel : undefined;
120
+ resourceInputs["rotateInterval"] = state ? state.rotateInterval : undefined;
81
121
  resourceInputs["rotateState"] = state ? state.rotateState : undefined;
82
122
  resourceInputs["rotationState"] = state ? state.rotationState : undefined;
83
123
  resourceInputs["scheduleDeleteTime"] = state ? state.scheduleDeleteTime : undefined;
@@ -86,6 +126,7 @@ class Key extends pulumi.CustomResource {
86
126
  resourceInputs["tags"] = state ? state.tags : undefined;
87
127
  resourceInputs["trn"] = state ? state.trn : undefined;
88
128
  resourceInputs["updateDate"] = state ? state.updateDate : undefined;
129
+ resourceInputs["xksKeyId"] = state ? state.xksKeyId : undefined;
89
130
  }
90
131
  else {
91
132
  const args = argsOrState;
@@ -95,6 +136,7 @@ class Key extends pulumi.CustomResource {
95
136
  if ((!args || args.keyringName === undefined) && !opts.urn) {
96
137
  throw new Error("Missing required property 'keyringName'");
97
138
  }
139
+ resourceInputs["customKeyStoreId"] = args ? args.customKeyStoreId : undefined;
98
140
  resourceInputs["description"] = args ? args.description : undefined;
99
141
  resourceInputs["keyName"] = args ? args.keyName : undefined;
100
142
  resourceInputs["keySpec"] = args ? args.keySpec : undefined;
@@ -104,8 +146,10 @@ class Key extends pulumi.CustomResource {
104
146
  resourceInputs["origin"] = args ? args.origin : undefined;
105
147
  resourceInputs["pendingWindowInDays"] = args ? args.pendingWindowInDays : undefined;
106
148
  resourceInputs["protectionLevel"] = args ? args.protectionLevel : undefined;
149
+ resourceInputs["rotateInterval"] = args ? args.rotateInterval : undefined;
107
150
  resourceInputs["rotateState"] = args ? args.rotateState : undefined;
108
151
  resourceInputs["tags"] = args ? args.tags : undefined;
152
+ resourceInputs["xksKeyId"] = args ? args.xksKeyId : undefined;
109
153
  resourceInputs["creationDate"] = undefined /*out*/;
110
154
  resourceInputs["keyMaterialExpireTime"] = undefined /*out*/;
111
155
  resourceInputs["lastRotationTime"] = undefined /*out*/;
package/kms/key.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"key.js","sourceRoot":"","sources":["../../kms/key.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D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S,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AArML,kBAsMC;AAxLG,gBAAgB;AACO,gBAAY,GAAG,wBAAwB,CAAC"}
@@ -55,11 +55,11 @@ export declare class KeyArchive extends pulumi.CustomResource {
55
55
  */
56
56
  static isInstance(obj: any): obj is KeyArchive;
57
57
  /**
58
- * The id of the CMK.
58
+ * The id of the key. When keyId is not specified, both keyringName and keyName must be specified.
59
59
  */
60
60
  readonly keyId: pulumi.Output<string>;
61
61
  /**
62
- * The name of the CMK.
62
+ * The name of the key.
63
63
  */
64
64
  readonly keyName: pulumi.Output<string>;
65
65
  /**
@@ -84,11 +84,11 @@ export declare class KeyArchive extends pulumi.CustomResource {
84
84
  */
85
85
  export interface KeyArchiveState {
86
86
  /**
87
- * The id of the CMK.
87
+ * The id of the key. When keyId is not specified, both keyringName and keyName must be specified.
88
88
  */
89
89
  keyId?: pulumi.Input<string>;
90
90
  /**
91
- * The name of the CMK.
91
+ * The name of the key.
92
92
  */
93
93
  keyName?: pulumi.Input<string>;
94
94
  /**
@@ -105,11 +105,11 @@ export interface KeyArchiveState {
105
105
  */
106
106
  export interface KeyArchiveArgs {
107
107
  /**
108
- * The id of the CMK.
108
+ * The id of the key. When keyId is not specified, both keyringName and keyName must be specified.
109
109
  */
110
110
  keyId?: pulumi.Input<string>;
111
111
  /**
112
- * The name of the CMK.
112
+ * The name of the key.
113
113
  */
114
114
  keyName?: pulumi.Input<string>;
115
115
  /**
@@ -41,11 +41,11 @@ export declare class KeyEnable extends pulumi.CustomResource {
41
41
  */
42
42
  static isInstance(obj: any): obj is KeyEnable;
43
43
  /**
44
- * The id of the CMK.
44
+ * The id of the key. When keyId is not specified, both keyringName and keyName must be specified.
45
45
  */
46
46
  readonly keyId: pulumi.Output<string>;
47
47
  /**
48
- * The name of the CMK.
48
+ * The name of the key.
49
49
  */
50
50
  readonly keyName: pulumi.Output<string>;
51
51
  /**
@@ -70,11 +70,11 @@ export declare class KeyEnable extends pulumi.CustomResource {
70
70
  */
71
71
  export interface KeyEnableState {
72
72
  /**
73
- * The id of the CMK.
73
+ * The id of the key. When keyId is not specified, both keyringName and keyName must be specified.
74
74
  */
75
75
  keyId?: pulumi.Input<string>;
76
76
  /**
77
- * The name of the CMK.
77
+ * The name of the key.
78
78
  */
79
79
  keyName?: pulumi.Input<string>;
80
80
  /**
@@ -91,11 +91,11 @@ export interface KeyEnableState {
91
91
  */
92
92
  export interface KeyEnableArgs {
93
93
  /**
94
- * The id of the CMK.
94
+ * The id of the key. When keyId is not specified, both keyringName and keyName must be specified.
95
95
  */
96
96
  keyId?: pulumi.Input<string>;
97
97
  /**
98
- * The name of the CMK.
98
+ * The name of the key.
99
99
  */
100
100
  keyName?: pulumi.Input<string>;
101
101
  /**
@@ -0,0 +1,141 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage kms key material
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * // It is necessary to first use data volcengine_kms_key_materials to obtain the import materials, such as import_token, public_key.
11
+ * // Reference document: https://www.volcengine.com/docs/6476/144950?lang=zh
12
+ * const _default = new volcengine.kms.KeyMaterial("default", {
13
+ * encryptedKeyMaterial: "***",
14
+ * expirationModel: "KEY_MATERIAL_EXPIRES",
15
+ * importToken: "***",
16
+ * keyId: "8798cd1e-****-4f9b-****-d51847ad53ae",
17
+ * keyName: "Test-3",
18
+ * keyringName: "Tf-test-1",
19
+ * validTo: 1770969621,
20
+ * });
21
+ * ```
22
+ */
23
+ export declare class KeyMaterial extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing KeyMaterial resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KeyMaterialState, opts?: pulumi.CustomResourceOptions): KeyMaterial;
34
+ /**
35
+ * Returns true if the given object is an instance of KeyMaterial. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj: any): obj is KeyMaterial;
39
+ /**
40
+ * The encrypted key material, Base64 encoded.
41
+ */
42
+ readonly encryptedKeyMaterial: pulumi.Output<string>;
43
+ /**
44
+ * The expiration model of key material. Valid values: `KEY_MATERIAL_DOES_NOT_EXPIRE`, `KEY_MATERIAL_EXPIRES`. Default value: `KEY_MATERIAL_DOES_NOT_EXPIRE`.
45
+ */
46
+ readonly expirationModel: pulumi.Output<string | undefined>;
47
+ /**
48
+ * The import token.
49
+ */
50
+ readonly importToken: pulumi.Output<string>;
51
+ /**
52
+ * The id of key. When keyId is not specified, both keyringName and keyName must be specified.
53
+ */
54
+ readonly keyId: pulumi.Output<string | undefined>;
55
+ /**
56
+ * The name of key.
57
+ */
58
+ readonly keyName: pulumi.Output<string | undefined>;
59
+ /**
60
+ * The name of keyring.
61
+ */
62
+ readonly keyringName: pulumi.Output<string | undefined>;
63
+ /**
64
+ * The valid to timestamp of key material. Required when expirationModel is KEY_MATERIAL_EXPIRES. Unit: second.
65
+ */
66
+ readonly validTo: pulumi.Output<number | undefined>;
67
+ /**
68
+ * Create a KeyMaterial resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args: KeyMaterialArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering KeyMaterial resources.
78
+ */
79
+ export interface KeyMaterialState {
80
+ /**
81
+ * The encrypted key material, Base64 encoded.
82
+ */
83
+ encryptedKeyMaterial?: pulumi.Input<string>;
84
+ /**
85
+ * The expiration model of key material. Valid values: `KEY_MATERIAL_DOES_NOT_EXPIRE`, `KEY_MATERIAL_EXPIRES`. Default value: `KEY_MATERIAL_DOES_NOT_EXPIRE`.
86
+ */
87
+ expirationModel?: pulumi.Input<string>;
88
+ /**
89
+ * The import token.
90
+ */
91
+ importToken?: pulumi.Input<string>;
92
+ /**
93
+ * The id of key. When keyId is not specified, both keyringName and keyName must be specified.
94
+ */
95
+ keyId?: pulumi.Input<string>;
96
+ /**
97
+ * The name of key.
98
+ */
99
+ keyName?: pulumi.Input<string>;
100
+ /**
101
+ * The name of keyring.
102
+ */
103
+ keyringName?: pulumi.Input<string>;
104
+ /**
105
+ * The valid to timestamp of key material. Required when expirationModel is KEY_MATERIAL_EXPIRES. Unit: second.
106
+ */
107
+ validTo?: pulumi.Input<number>;
108
+ }
109
+ /**
110
+ * The set of arguments for constructing a KeyMaterial resource.
111
+ */
112
+ export interface KeyMaterialArgs {
113
+ /**
114
+ * The encrypted key material, Base64 encoded.
115
+ */
116
+ encryptedKeyMaterial: pulumi.Input<string>;
117
+ /**
118
+ * The expiration model of key material. Valid values: `KEY_MATERIAL_DOES_NOT_EXPIRE`, `KEY_MATERIAL_EXPIRES`. Default value: `KEY_MATERIAL_DOES_NOT_EXPIRE`.
119
+ */
120
+ expirationModel?: pulumi.Input<string>;
121
+ /**
122
+ * The import token.
123
+ */
124
+ importToken: pulumi.Input<string>;
125
+ /**
126
+ * The id of key. When keyId is not specified, both keyringName and keyName must be specified.
127
+ */
128
+ keyId?: pulumi.Input<string>;
129
+ /**
130
+ * The name of key.
131
+ */
132
+ keyName?: pulumi.Input<string>;
133
+ /**
134
+ * The name of keyring.
135
+ */
136
+ keyringName?: pulumi.Input<string>;
137
+ /**
138
+ * The valid to timestamp of key material. Required when expirationModel is KEY_MATERIAL_EXPIRES. Unit: second.
139
+ */
140
+ validTo?: pulumi.Input<number>;
141
+ }