@pulumi/aws 6.0.0-alpha.2 → 6.0.0-alpha.3

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 (401) hide show
  1. package/alb/targetGroupAttachment.d.ts +17 -10
  2. package/alb/targetGroupAttachment.js +2 -1
  3. package/alb/targetGroupAttachment.js.map +1 -1
  4. package/appconfig/environment.d.ts +1 -1
  5. package/appflow/flow.d.ts +98 -0
  6. package/appflow/flow.js +98 -0
  7. package/appflow/flow.js.map +1 -1
  8. package/applicationloadbalancing/targetGroupAttachment.d.ts +17 -10
  9. package/applicationloadbalancing/targetGroupAttachment.js +2 -1
  10. package/applicationloadbalancing/targetGroupAttachment.js.map +1 -1
  11. package/appsync/graphQLApi.d.ts +0 -134
  12. package/appsync/graphQLApi.js +0 -134
  13. package/appsync/graphQLApi.js.map +1 -1
  14. package/backup/regionSettings.d.ts +3 -3
  15. package/batch/computeEnvironment.d.ts +2 -0
  16. package/batch/computeEnvironment.js +2 -0
  17. package/batch/computeEnvironment.js.map +1 -1
  18. package/budgets/getBudget.d.ts +130 -0
  19. package/budgets/getBudget.js +51 -0
  20. package/budgets/getBudget.js.map +1 -0
  21. package/budgets/index.d.ts +3 -0
  22. package/budgets/index.js +4 -1
  23. package/budgets/index.js.map +1 -1
  24. package/chime/index.d.ts +9 -0
  25. package/chime/index.js +16 -1
  26. package/chime/index.js.map +1 -1
  27. package/chime/sdkvoiceGlobalSettings.d.ts +73 -0
  28. package/chime/sdkvoiceGlobalSettings.js +75 -0
  29. package/chime/sdkvoiceGlobalSettings.js.map +1 -0
  30. package/chime/sdkvoiceSipMediaApplication.d.ts +145 -0
  31. package/chime/sdkvoiceSipMediaApplication.js +95 -0
  32. package/chime/sdkvoiceSipMediaApplication.js.map +1 -0
  33. package/chime/sdkvoiceSipRule.d.ts +134 -0
  34. package/chime/sdkvoiceSipRule.js +99 -0
  35. package/chime/sdkvoiceSipRule.js.map +1 -0
  36. package/chime/voiceConnector.d.ts +44 -0
  37. package/chime/voiceConnector.js +6 -0
  38. package/chime/voiceConnector.js.map +1 -1
  39. package/cleanrooms/collaboration.d.ts +256 -0
  40. package/cleanrooms/collaboration.js +123 -0
  41. package/cleanrooms/collaboration.js.map +1 -0
  42. package/cleanrooms/index.d.ts +3 -0
  43. package/cleanrooms/index.js +22 -0
  44. package/cleanrooms/index.js.map +1 -0
  45. package/cloudfront/cachePolicy.d.ts +22 -22
  46. package/cloudfront/cachePolicy.js +2 -2
  47. package/cloudwatch/eventTarget.d.ts +8 -2
  48. package/cloudwatch/eventTarget.js +8 -2
  49. package/cloudwatch/eventTarget.js.map +1 -1
  50. package/cloudwatch/internetMonitor.d.ts +12 -0
  51. package/cloudwatch/internetMonitor.js +2 -0
  52. package/cloudwatch/internetMonitor.js.map +1 -1
  53. package/cloudwatch/metricStream.d.ts +94 -0
  54. package/cloudwatch/metricStream.js +94 -0
  55. package/cloudwatch/metricStream.js.map +1 -1
  56. package/codebuild/project.d.ts +2 -2
  57. package/codebuild/project.js +2 -2
  58. package/cognito/identityPool.d.ts +1 -1
  59. package/cognito/identityPool.js +1 -1
  60. package/cognito/index.d.ts +3 -0
  61. package/cognito/index.js +6 -1
  62. package/cognito/index.js.map +1 -1
  63. package/cognito/managedUserPoolClient.d.ts +394 -0
  64. package/cognito/managedUserPoolClient.js +170 -0
  65. package/cognito/managedUserPoolClient.js.map +1 -0
  66. package/cognito/userPool.d.ts +3 -3
  67. package/cognito/userPoolClient.d.ts +14 -14
  68. package/cognito/userPoolClient.js +1 -1
  69. package/config/vars.d.ts +5 -0
  70. package/config/vars.js +6 -0
  71. package/config/vars.js.map +1 -1
  72. package/cur/reportDefinition.d.ts +7 -4
  73. package/cur/reportDefinition.js +4 -1
  74. package/cur/reportDefinition.js.map +1 -1
  75. package/datasync/locationObjectStorage.d.ts +3 -3
  76. package/ec2/getInstances.d.ts +54 -0
  77. package/ec2/getInstances.js +54 -0
  78. package/ec2/getInstances.js.map +1 -1
  79. package/ec2/getVpcPeeringConnections.d.ts +34 -0
  80. package/ec2/getVpcPeeringConnections.js +34 -0
  81. package/ec2/getVpcPeeringConnections.js.map +1 -1
  82. package/ec2/instance.d.ts +61 -0
  83. package/ec2/instance.js +39 -0
  84. package/ec2/instance.js.map +1 -1
  85. package/ec2/managedPrefixListEntry.d.ts +8 -16
  86. package/ec2/managedPrefixListEntry.js +5 -13
  87. package/ec2/managedPrefixListEntry.js.map +1 -1
  88. package/ec2/peeringConnectionOptions.d.ts +6 -18
  89. package/ec2/peeringConnectionOptions.js.map +1 -1
  90. package/ec2/securityGroupRule.d.ts +6 -0
  91. package/ec2/securityGroupRule.js.map +1 -1
  92. package/ec2/spotInstanceRequest.d.ts +7 -7
  93. package/ec2/spotInstanceRequest.js +1 -1
  94. package/ec2transitgateway/connect.d.ts +3 -3
  95. package/ec2transitgateway/connectPeer.d.ts +16 -0
  96. package/ec2transitgateway/connectPeer.js +4 -0
  97. package/ec2transitgateway/connectPeer.js.map +1 -1
  98. package/ec2transitgateway/getConnectPeer.d.ts +8 -0
  99. package/ec2transitgateway/getConnectPeer.js.map +1 -1
  100. package/ec2transitgateway/getVpcAttachments.d.ts +32 -0
  101. package/ec2transitgateway/getVpcAttachments.js +32 -0
  102. package/ec2transitgateway/getVpcAttachments.js.map +1 -1
  103. package/ec2transitgateway/index.d.ts +3 -0
  104. package/ec2transitgateway/index.js +6 -1
  105. package/ec2transitgateway/index.js.map +1 -1
  106. package/ec2transitgateway/instanceConnectEndpoint.d.ts +183 -0
  107. package/ec2transitgateway/instanceConnectEndpoint.js +96 -0
  108. package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -0
  109. package/ec2transitgateway/routeTableAssociation.d.ts +12 -0
  110. package/ec2transitgateway/routeTableAssociation.js +2 -0
  111. package/ec2transitgateway/routeTableAssociation.js.map +1 -1
  112. package/ecr/getPullThroughCacheRule.d.ts +67 -0
  113. package/ecr/getPullThroughCacheRule.js +47 -0
  114. package/ecr/getPullThroughCacheRule.js.map +1 -0
  115. package/ecr/index.d.ts +3 -0
  116. package/ecr/index.js +4 -1
  117. package/ecr/index.js.map +1 -1
  118. package/eks/addon.d.ts +5 -10
  119. package/eks/addon.js +2 -7
  120. package/eks/addon.js.map +1 -1
  121. package/eks/cluster.d.ts +2 -4
  122. package/eks/cluster.js +2 -4
  123. package/eks/cluster.js.map +1 -1
  124. package/eks/getAddonVersion.d.ts +4 -8
  125. package/eks/getAddonVersion.js +4 -8
  126. package/eks/getAddonVersion.js.map +1 -1
  127. package/eks/getCluster.d.ts +6 -12
  128. package/eks/getCluster.js +6 -12
  129. package/eks/getCluster.js.map +1 -1
  130. package/eks/nodeGroup.d.ts +24 -15
  131. package/eks/nodeGroup.js.map +1 -1
  132. package/elasticache/cluster.d.ts +6 -3
  133. package/elasticache/cluster.js.map +1 -1
  134. package/elasticache/globalReplicationGroup.d.ts +6 -3
  135. package/elasticache/globalReplicationGroup.js.map +1 -1
  136. package/elasticache/replicationGroup.d.ts +6 -3
  137. package/elasticache/replicationGroup.js.map +1 -1
  138. package/elasticloadbalancing/loadBalancer.d.ts +3 -3
  139. package/elasticloadbalancingv2/targetGroupAttachment.d.ts +17 -10
  140. package/elasticloadbalancingv2/targetGroupAttachment.js +2 -1
  141. package/elasticloadbalancingv2/targetGroupAttachment.js.map +1 -1
  142. package/elb/loadBalancer.d.ts +3 -3
  143. package/finspace/index.d.ts +12 -0
  144. package/finspace/index.js +37 -0
  145. package/finspace/index.js.map +1 -0
  146. package/finspace/kxCluster.d.ts +340 -0
  147. package/finspace/kxCluster.js +129 -0
  148. package/finspace/kxCluster.js.map +1 -0
  149. package/finspace/kxDatabase.d.ts +165 -0
  150. package/finspace/kxDatabase.js +102 -0
  151. package/finspace/kxDatabase.js.map +1 -0
  152. package/finspace/kxEnvironment.d.ts +235 -0
  153. package/finspace/kxEnvironment.js +132 -0
  154. package/finspace/kxEnvironment.js.map +1 -0
  155. package/finspace/kxUser.d.ts +160 -0
  156. package/finspace/kxUser.js +112 -0
  157. package/finspace/kxUser.js.map +1 -0
  158. package/fis/experimentTemplate.d.ts +12 -0
  159. package/fis/experimentTemplate.js +2 -0
  160. package/fis/experimentTemplate.js.map +1 -1
  161. package/getArn.d.ts +2 -3
  162. package/getArn.js +1 -0
  163. package/getArn.js.map +1 -1
  164. package/getBillingServiceAccount.d.ts +67 -2
  165. package/getBillingServiceAccount.js +56 -3
  166. package/getBillingServiceAccount.js.map +1 -1
  167. package/getCallerIdentity.d.ts +37 -2
  168. package/getCallerIdentity.js +26 -3
  169. package/getCallerIdentity.js.map +1 -1
  170. package/getDefaultTags.d.ts +2 -15
  171. package/getDefaultTags.js +1 -1
  172. package/getDefaultTags.js.map +1 -1
  173. package/getIpRanges.d.ts +2 -3
  174. package/getIpRanges.js +1 -0
  175. package/getIpRanges.js.map +1 -1
  176. package/getPartition.d.ts +41 -2
  177. package/getPartition.js +30 -3
  178. package/getPartition.js.map +1 -1
  179. package/getRegion.d.ts +2 -3
  180. package/getRegion.js +1 -0
  181. package/getRegion.js.map +1 -1
  182. package/getRegions.d.ts +9 -1
  183. package/getRegions.js +1 -0
  184. package/getRegions.js.map +1 -1
  185. package/getService.d.ts +2 -3
  186. package/getService.js +1 -0
  187. package/getService.js.map +1 -1
  188. package/globalaccelerator/customRoutingAccelerator.d.ts +192 -0
  189. package/globalaccelerator/customRoutingAccelerator.js +100 -0
  190. package/globalaccelerator/customRoutingAccelerator.js.map +1 -0
  191. package/globalaccelerator/customRoutingEndpointGroup.d.ts +130 -0
  192. package/globalaccelerator/customRoutingEndpointGroup.js +93 -0
  193. package/globalaccelerator/customRoutingEndpointGroup.js.map +1 -0
  194. package/globalaccelerator/customRoutingListener.d.ts +104 -0
  195. package/globalaccelerator/customRoutingListener.js +93 -0
  196. package/globalaccelerator/customRoutingListener.js.map +1 -0
  197. package/globalaccelerator/getAccelerator.d.ts +3 -9
  198. package/globalaccelerator/getAccelerator.js +1 -1
  199. package/globalaccelerator/getAccelerator.js.map +1 -1
  200. package/globalaccelerator/getCustomRoutingAccelerator.d.ts +96 -0
  201. package/globalaccelerator/getCustomRoutingAccelerator.js +58 -0
  202. package/globalaccelerator/getCustomRoutingAccelerator.js.map +1 -0
  203. package/globalaccelerator/index.d.ts +12 -0
  204. package/globalaccelerator/index.js +19 -1
  205. package/globalaccelerator/index.js.map +1 -1
  206. package/glue/crawler.d.ts +21 -0
  207. package/glue/crawler.js +2 -0
  208. package/glue/crawler.js.map +1 -1
  209. package/glue/devEndpoint.d.ts +3 -3
  210. package/glue/workflow.d.ts +3 -3
  211. package/guardduty/getFindingIds.d.ts +66 -0
  212. package/guardduty/getFindingIds.js +49 -0
  213. package/guardduty/getFindingIds.js.map +1 -0
  214. package/guardduty/index.d.ts +3 -0
  215. package/guardduty/index.js +4 -1
  216. package/guardduty/index.js.map +1 -1
  217. package/iam/getPrincipalPolicySimulation.d.ts +167 -0
  218. package/iam/getPrincipalPolicySimulation.js +48 -0
  219. package/iam/getPrincipalPolicySimulation.js.map +1 -0
  220. package/iam/index.d.ts +3 -0
  221. package/iam/index.js +5 -2
  222. package/iam/index.js.map +1 -1
  223. package/index.d.ts +9 -4
  224. package/index.js +15 -8
  225. package/index.js.map +1 -1
  226. package/iot/getEndpoint.d.ts +50 -0
  227. package/iot/getEndpoint.js +50 -0
  228. package/iot/getEndpoint.js.map +1 -1
  229. package/kendra/querySuggestionsBlockList.d.ts +24 -24
  230. package/kendra/querySuggestionsBlockList.js +2 -2
  231. package/keyspaces/table.d.ts +12 -0
  232. package/keyspaces/table.js +2 -0
  233. package/keyspaces/table.js.map +1 -1
  234. package/kinesis/firehoseDeliveryStream.d.ts +0 -50
  235. package/kinesis/firehoseDeliveryStream.js +0 -50
  236. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  237. package/lambda/eventSourceMapping.d.ts +6 -48
  238. package/lambda/eventSourceMapping.js +0 -42
  239. package/lambda/eventSourceMapping.js.map +1 -1
  240. package/lambda/function.d.ts +51 -4
  241. package/lambda/function.js +36 -1
  242. package/lambda/function.js.map +1 -1
  243. package/lambda/provisionedConcurrencyConfig.d.ts +2 -2
  244. package/lambda/provisionedConcurrencyConfig.js +2 -2
  245. package/lb/targetGroupAttachment.d.ts +17 -10
  246. package/lb/targetGroupAttachment.js +2 -1
  247. package/lb/targetGroupAttachment.js.map +1 -1
  248. package/msk/cluster.d.ts +108 -0
  249. package/msk/cluster.js +108 -0
  250. package/msk/cluster.js.map +1 -1
  251. package/opensearch/getServerlessAccessPolicy.d.ts +81 -0
  252. package/opensearch/getServerlessAccessPolicy.js +52 -0
  253. package/opensearch/getServerlessAccessPolicy.js.map +1 -0
  254. package/opensearch/getServerlessCollection.d.ts +101 -0
  255. package/opensearch/getServerlessCollection.js +51 -0
  256. package/opensearch/getServerlessCollection.js.map +1 -0
  257. package/opensearch/getServerlessSecurityConfig.d.ts +91 -0
  258. package/opensearch/getServerlessSecurityConfig.js +50 -0
  259. package/opensearch/getServerlessSecurityConfig.js.map +1 -0
  260. package/opensearch/getServerlessSecurityPolicy.d.ts +90 -0
  261. package/opensearch/getServerlessSecurityPolicy.js +50 -0
  262. package/opensearch/getServerlessSecurityPolicy.js.map +1 -0
  263. package/opensearch/getServerlessVpcEndpoint.d.ts +79 -0
  264. package/opensearch/getServerlessVpcEndpoint.js +47 -0
  265. package/opensearch/getServerlessVpcEndpoint.js.map +1 -0
  266. package/opensearch/index.d.ts +30 -0
  267. package/opensearch/index.js +41 -1
  268. package/opensearch/index.js.map +1 -1
  269. package/opensearch/serverlessAccessPolicy.d.ts +138 -0
  270. package/opensearch/serverlessAccessPolicy.js +106 -0
  271. package/opensearch/serverlessAccessPolicy.js.map +1 -0
  272. package/opensearch/serverlessCollection.d.ts +167 -0
  273. package/opensearch/serverlessCollection.js +104 -0
  274. package/opensearch/serverlessCollection.js.map +1 -0
  275. package/opensearch/serverlessSecurityConfig.d.ts +113 -0
  276. package/opensearch/serverlessSecurityConfig.js +76 -0
  277. package/opensearch/serverlessSecurityConfig.js.map +1 -0
  278. package/opensearch/serverlessSecurityPolicy.d.ts +148 -0
  279. package/opensearch/serverlessSecurityPolicy.js +116 -0
  280. package/opensearch/serverlessSecurityPolicy.js.map +1 -0
  281. package/opensearch/serverlessVpcEndpoint.d.ts +120 -0
  282. package/opensearch/serverlessVpcEndpoint.js +91 -0
  283. package/opensearch/serverlessVpcEndpoint.js.map +1 -0
  284. package/organizations/getPolicies.d.ts +45 -0
  285. package/organizations/getPolicies.js +29 -0
  286. package/organizations/getPolicies.js.map +1 -0
  287. package/organizations/getPoliciesForTarget.d.ts +54 -0
  288. package/organizations/getPoliciesForTarget.js +30 -0
  289. package/organizations/getPoliciesForTarget.js.map +1 -0
  290. package/organizations/index.d.ts +9 -0
  291. package/organizations/index.js +12 -1
  292. package/organizations/index.js.map +1 -1
  293. package/organizations/resourcePolicy.d.ts +137 -0
  294. package/organizations/resourcePolicy.js +109 -0
  295. package/organizations/resourcePolicy.js.map +1 -0
  296. package/package.json +2 -2
  297. package/package.json.dev +2 -2
  298. package/pinpoint/smsChannel.d.ts +18 -18
  299. package/pinpoint/smsChannel.js +2 -2
  300. package/pipes/pipe.d.ts +52 -19
  301. package/pipes/pipe.js +25 -8
  302. package/pipes/pipe.js.map +1 -1
  303. package/provider.d.ts +10 -0
  304. package/provider.js +2 -1
  305. package/provider.js.map +1 -1
  306. package/quicksight/dataSet.d.ts +2 -2
  307. package/quicksight/dataSet.js +0 -3
  308. package/quicksight/dataSet.js.map +1 -1
  309. package/quicksight/getTheme.d.ts +133 -0
  310. package/quicksight/getTheme.js +51 -0
  311. package/quicksight/getTheme.js.map +1 -0
  312. package/quicksight/index.d.ts +6 -0
  313. package/quicksight/index.js +9 -1
  314. package/quicksight/index.js.map +1 -1
  315. package/quicksight/refreshSchedule.d.ts +44 -0
  316. package/quicksight/refreshSchedule.js +44 -0
  317. package/quicksight/refreshSchedule.js.map +1 -1
  318. package/quicksight/theme.d.ts +211 -0
  319. package/quicksight/theme.js +97 -0
  320. package/quicksight/theme.js.map +1 -0
  321. package/rds/eventSubscription.d.ts +3 -3
  322. package/rds/getInstance.d.ts +1 -1
  323. package/rds/instance.d.ts +3 -3
  324. package/rds/proxy.d.ts +3 -3
  325. package/redshift/cluster.d.ts +8 -0
  326. package/redshift/cluster.js +2 -0
  327. package/redshift/cluster.js.map +1 -1
  328. package/redshift/getCluster.d.ts +5 -1
  329. package/redshift/getCluster.js.map +1 -1
  330. package/s3/bucketNotification.d.ts +15 -3
  331. package/s3/bucketNotification.js +12 -0
  332. package/s3/bucketNotification.js.map +1 -1
  333. package/servicecatalog/getProduct.d.ts +13 -13
  334. package/servicecatalog/getProduct.js +4 -4
  335. package/ses/activeReceiptRuleSet.d.ts +8 -0
  336. package/ses/activeReceiptRuleSet.js +8 -0
  337. package/ses/activeReceiptRuleSet.js.map +1 -1
  338. package/sesv2/emailIdentity.d.ts +15 -3
  339. package/sesv2/emailIdentity.js.map +1 -1
  340. package/sesv2/getEmailIdentity.d.ts +97 -0
  341. package/sesv2/getEmailIdentity.js +50 -0
  342. package/sesv2/getEmailIdentity.js.map +1 -0
  343. package/sesv2/getEmailIdentityMailFromAttributes.d.ts +75 -0
  344. package/sesv2/getEmailIdentityMailFromAttributes.js +55 -0
  345. package/sesv2/getEmailIdentityMailFromAttributes.js.map +1 -0
  346. package/sesv2/index.d.ts +6 -0
  347. package/sesv2/index.js +7 -1
  348. package/sesv2/index.js.map +1 -1
  349. package/sfn/alias.d.ts +136 -0
  350. package/sfn/alias.js +103 -0
  351. package/sfn/alias.js.map +1 -0
  352. package/sfn/getAlias.d.ts +97 -0
  353. package/sfn/getAlias.js +53 -0
  354. package/sfn/getAlias.js.map +1 -0
  355. package/sfn/getStateMachine.d.ts +5 -0
  356. package/sfn/getStateMachine.js.map +1 -1
  357. package/sfn/getStateMachineVersions.d.ts +65 -0
  358. package/sfn/getStateMachineVersions.js +49 -0
  359. package/sfn/getStateMachineVersions.js.map +1 -0
  360. package/sfn/index.d.ts +9 -0
  361. package/sfn/index.js +12 -1
  362. package/sfn/index.js.map +1 -1
  363. package/sfn/stateMachine.d.ts +45 -0
  364. package/sfn/stateMachine.js +35 -0
  365. package/sfn/stateMachine.js.map +1 -1
  366. package/ssm/patchBaseline.d.ts +6 -0
  367. package/ssm/patchBaseline.js.map +1 -1
  368. package/timestreamwrite/table.d.ts +30 -0
  369. package/timestreamwrite/table.js +20 -0
  370. package/timestreamwrite/table.js.map +1 -1
  371. package/transfer/agreement.d.ts +170 -0
  372. package/transfer/agreement.js +110 -0
  373. package/transfer/agreement.js.map +1 -0
  374. package/transfer/certificate.d.ts +172 -0
  375. package/transfer/certificate.js +103 -0
  376. package/transfer/certificate.js.map +1 -0
  377. package/transfer/connector.d.ts +152 -0
  378. package/transfer/connector.js +104 -0
  379. package/transfer/connector.js.map +1 -0
  380. package/transfer/index.d.ts +12 -0
  381. package/transfer/index.js +21 -1
  382. package/transfer/index.js.map +1 -1
  383. package/transfer/profile.d.ts +117 -0
  384. package/transfer/profile.js +78 -0
  385. package/transfer/profile.js.map +1 -0
  386. package/types/input.d.ts +9207 -97395
  387. package/types/output.d.ts +9845 -97697
  388. package/vpc/securityGroupEgressRule.d.ts +3 -3
  389. package/vpc/securityGroupEgressRule.js +4 -1
  390. package/vpc/securityGroupEgressRule.js.map +1 -1
  391. package/vpc/securityGroupIngressRule.d.ts +3 -3
  392. package/vpc/securityGroupIngressRule.js +4 -1
  393. package/vpc/securityGroupIngressRule.js.map +1 -1
  394. package/wafv2/ruleGroup.d.ts +0 -49
  395. package/wafv2/ruleGroup.js +0 -49
  396. package/wafv2/ruleGroup.js.map +1 -1
  397. package/wafv2/webAcl.d.ts +6 -246
  398. package/wafv2/webAcl.js +0 -240
  399. package/wafv2/webAcl.js.map +1 -1
  400. package/wafv2/webAclLoggingConfiguration.d.ts +17 -17
  401. package/wafv2/webAclLoggingConfiguration.js +5 -5
@@ -0,0 +1,340 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing an AWS FinSpace Kx Cluster.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ## Import
10
+ *
11
+ * An AWS FinSpace Kx Cluster can be imported using the `id` (environment ID and cluster name, comma-delimited), e.g.,
12
+ *
13
+ * ```sh
14
+ * $ pulumi import aws:finspace/kxCluster:KxCluster example n3ceo7wqxoxcti5tujqwzs,my-tf-kx-cluster
15
+ * ```
16
+ */
17
+ export declare class KxCluster extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing KxCluster resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KxClusterState, opts?: pulumi.CustomResourceOptions): KxCluster;
28
+ /**
29
+ * Returns true if the given object is an instance of KxCluster. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is KxCluster;
33
+ /**
34
+ * Amazon Resource Name (ARN) identifier of the KX cluster.
35
+ */
36
+ readonly arn: pulumi.Output<string>;
37
+ /**
38
+ * Configuration based on which FinSpace will scale in or scale out nodes in your cluster. See auto_scaling_configuration.
39
+ */
40
+ readonly autoScalingConfiguration: pulumi.Output<outputs.finspace.KxClusterAutoScalingConfiguration | undefined>;
41
+ /**
42
+ * The availability zone identifiers for the requested regions. Required when `azMode` is set to SINGLE.
43
+ */
44
+ readonly availabilityZoneId: pulumi.Output<string | undefined>;
45
+ /**
46
+ * The number of availability zones you want to assign per cluster. This can be one of the following:
47
+ * * SINGLE - Assigns one availability zone per cluster.
48
+ * * MULTI - Assigns all the availability zones per cluster.
49
+ */
50
+ readonly azMode: pulumi.Output<string>;
51
+ /**
52
+ * Configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store. See cache_storage_configuration.
53
+ */
54
+ readonly cacheStorageConfigurations: pulumi.Output<outputs.finspace.KxClusterCacheStorageConfiguration[] | undefined>;
55
+ /**
56
+ * Structure for the metadata of a cluster. Includes information like the CPUs needed, memory of instances, and number of instances. See capacity_configuration.
57
+ */
58
+ readonly capacityConfiguration: pulumi.Output<outputs.finspace.KxClusterCapacityConfiguration>;
59
+ /**
60
+ * Details of the custom code that you want to use inside a cluster when analyzing data. Consists of the S3 source bucket, location, object version, and the relative path from where the custom code is loaded into the cluster. See code.
61
+ */
62
+ readonly code: pulumi.Output<outputs.finspace.KxClusterCode | undefined>;
63
+ /**
64
+ * List of key-value pairs to make available inside the cluster.
65
+ */
66
+ readonly commandLineArguments: pulumi.Output<{
67
+ [key: string]: string;
68
+ } | undefined>;
69
+ /**
70
+ * Timestamp at which the cluster is created in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
71
+ */
72
+ readonly createdTimestamp: pulumi.Output<string>;
73
+ /**
74
+ * KX database that will be available for querying. Defined below.
75
+ */
76
+ readonly databases: pulumi.Output<outputs.finspace.KxClusterDatabase[] | undefined>;
77
+ /**
78
+ * Description of the cluster.
79
+ */
80
+ readonly description: pulumi.Output<string | undefined>;
81
+ /**
82
+ * Unique identifier for the KX environment.
83
+ */
84
+ readonly environmentId: pulumi.Output<string>;
85
+ /**
86
+ * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
87
+ */
88
+ readonly executionRole: pulumi.Output<string | undefined>;
89
+ /**
90
+ * Path to Q program that will be run at launch of a cluster. This is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
91
+ */
92
+ readonly initializationScript: pulumi.Output<string | undefined>;
93
+ /**
94
+ * Last timestamp at which the cluster was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
95
+ */
96
+ readonly lastModifiedTimestamp: pulumi.Output<string>;
97
+ /**
98
+ * Unique name for the cluster that you want to create.
99
+ */
100
+ readonly name: pulumi.Output<string>;
101
+ /**
102
+ * Version of FinSpace Managed kdb to run.
103
+ */
104
+ readonly releaseLabel: pulumi.Output<string>;
105
+ /**
106
+ * Size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose `type` as RDB. All the data written to this storage space is lost when the cluster node is restarted. See savedown_storage_configuration.
107
+ */
108
+ readonly savedownStorageConfiguration: pulumi.Output<outputs.finspace.KxClusterSavedownStorageConfiguration | undefined>;
109
+ readonly status: pulumi.Output<string>;
110
+ readonly statusReason: pulumi.Output<string>;
111
+ /**
112
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
113
+ */
114
+ readonly tags: pulumi.Output<{
115
+ [key: string]: string;
116
+ } | undefined>;
117
+ /**
118
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
119
+ */
120
+ readonly tagsAll: pulumi.Output<{
121
+ [key: string]: string;
122
+ }>;
123
+ /**
124
+ * Type of KDB database. The following types are available:
125
+ * * HDB - Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed KX databases mounted to the cluster.
126
+ * * RDB - Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the `savedownStorageConfiguration` parameter.
127
+ * * GATEWAY - A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
128
+ */
129
+ readonly type: pulumi.Output<string>;
130
+ /**
131
+ * Configuration details about the network where the Privatelink endpoint of the cluster resides. See vpc_configuration.
132
+ *
133
+ * The following arguments are optional:
134
+ */
135
+ readonly vpcConfiguration: pulumi.Output<outputs.finspace.KxClusterVpcConfiguration>;
136
+ /**
137
+ * Create a KxCluster resource with the given unique name, arguments, and options.
138
+ *
139
+ * @param name The _unique_ name of the resource.
140
+ * @param args The arguments to use to populate this resource's properties.
141
+ * @param opts A bag of options that control this resource's behavior.
142
+ */
143
+ constructor(name: string, args: KxClusterArgs, opts?: pulumi.CustomResourceOptions);
144
+ }
145
+ /**
146
+ * Input properties used for looking up and filtering KxCluster resources.
147
+ */
148
+ export interface KxClusterState {
149
+ /**
150
+ * Amazon Resource Name (ARN) identifier of the KX cluster.
151
+ */
152
+ arn?: pulumi.Input<string>;
153
+ /**
154
+ * Configuration based on which FinSpace will scale in or scale out nodes in your cluster. See auto_scaling_configuration.
155
+ */
156
+ autoScalingConfiguration?: pulumi.Input<inputs.finspace.KxClusterAutoScalingConfiguration>;
157
+ /**
158
+ * The availability zone identifiers for the requested regions. Required when `azMode` is set to SINGLE.
159
+ */
160
+ availabilityZoneId?: pulumi.Input<string>;
161
+ /**
162
+ * The number of availability zones you want to assign per cluster. This can be one of the following:
163
+ * * SINGLE - Assigns one availability zone per cluster.
164
+ * * MULTI - Assigns all the availability zones per cluster.
165
+ */
166
+ azMode?: pulumi.Input<string>;
167
+ /**
168
+ * Configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store. See cache_storage_configuration.
169
+ */
170
+ cacheStorageConfigurations?: pulumi.Input<pulumi.Input<inputs.finspace.KxClusterCacheStorageConfiguration>[]>;
171
+ /**
172
+ * Structure for the metadata of a cluster. Includes information like the CPUs needed, memory of instances, and number of instances. See capacity_configuration.
173
+ */
174
+ capacityConfiguration?: pulumi.Input<inputs.finspace.KxClusterCapacityConfiguration>;
175
+ /**
176
+ * Details of the custom code that you want to use inside a cluster when analyzing data. Consists of the S3 source bucket, location, object version, and the relative path from where the custom code is loaded into the cluster. See code.
177
+ */
178
+ code?: pulumi.Input<inputs.finspace.KxClusterCode>;
179
+ /**
180
+ * List of key-value pairs to make available inside the cluster.
181
+ */
182
+ commandLineArguments?: pulumi.Input<{
183
+ [key: string]: pulumi.Input<string>;
184
+ }>;
185
+ /**
186
+ * Timestamp at which the cluster is created in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
187
+ */
188
+ createdTimestamp?: pulumi.Input<string>;
189
+ /**
190
+ * KX database that will be available for querying. Defined below.
191
+ */
192
+ databases?: pulumi.Input<pulumi.Input<inputs.finspace.KxClusterDatabase>[]>;
193
+ /**
194
+ * Description of the cluster.
195
+ */
196
+ description?: pulumi.Input<string>;
197
+ /**
198
+ * Unique identifier for the KX environment.
199
+ */
200
+ environmentId?: pulumi.Input<string>;
201
+ /**
202
+ * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
203
+ */
204
+ executionRole?: pulumi.Input<string>;
205
+ /**
206
+ * Path to Q program that will be run at launch of a cluster. This is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
207
+ */
208
+ initializationScript?: pulumi.Input<string>;
209
+ /**
210
+ * Last timestamp at which the cluster was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
211
+ */
212
+ lastModifiedTimestamp?: pulumi.Input<string>;
213
+ /**
214
+ * Unique name for the cluster that you want to create.
215
+ */
216
+ name?: pulumi.Input<string>;
217
+ /**
218
+ * Version of FinSpace Managed kdb to run.
219
+ */
220
+ releaseLabel?: pulumi.Input<string>;
221
+ /**
222
+ * Size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose `type` as RDB. All the data written to this storage space is lost when the cluster node is restarted. See savedown_storage_configuration.
223
+ */
224
+ savedownStorageConfiguration?: pulumi.Input<inputs.finspace.KxClusterSavedownStorageConfiguration>;
225
+ status?: pulumi.Input<string>;
226
+ statusReason?: pulumi.Input<string>;
227
+ /**
228
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
229
+ */
230
+ tags?: pulumi.Input<{
231
+ [key: string]: pulumi.Input<string>;
232
+ }>;
233
+ /**
234
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
235
+ */
236
+ tagsAll?: pulumi.Input<{
237
+ [key: string]: pulumi.Input<string>;
238
+ }>;
239
+ /**
240
+ * Type of KDB database. The following types are available:
241
+ * * HDB - Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed KX databases mounted to the cluster.
242
+ * * RDB - Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the `savedownStorageConfiguration` parameter.
243
+ * * GATEWAY - A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
244
+ */
245
+ type?: pulumi.Input<string>;
246
+ /**
247
+ * Configuration details about the network where the Privatelink endpoint of the cluster resides. See vpc_configuration.
248
+ *
249
+ * The following arguments are optional:
250
+ */
251
+ vpcConfiguration?: pulumi.Input<inputs.finspace.KxClusterVpcConfiguration>;
252
+ }
253
+ /**
254
+ * The set of arguments for constructing a KxCluster resource.
255
+ */
256
+ export interface KxClusterArgs {
257
+ /**
258
+ * Configuration based on which FinSpace will scale in or scale out nodes in your cluster. See auto_scaling_configuration.
259
+ */
260
+ autoScalingConfiguration?: pulumi.Input<inputs.finspace.KxClusterAutoScalingConfiguration>;
261
+ /**
262
+ * The availability zone identifiers for the requested regions. Required when `azMode` is set to SINGLE.
263
+ */
264
+ availabilityZoneId?: pulumi.Input<string>;
265
+ /**
266
+ * The number of availability zones you want to assign per cluster. This can be one of the following:
267
+ * * SINGLE - Assigns one availability zone per cluster.
268
+ * * MULTI - Assigns all the availability zones per cluster.
269
+ */
270
+ azMode: pulumi.Input<string>;
271
+ /**
272
+ * Configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store. See cache_storage_configuration.
273
+ */
274
+ cacheStorageConfigurations?: pulumi.Input<pulumi.Input<inputs.finspace.KxClusterCacheStorageConfiguration>[]>;
275
+ /**
276
+ * Structure for the metadata of a cluster. Includes information like the CPUs needed, memory of instances, and number of instances. See capacity_configuration.
277
+ */
278
+ capacityConfiguration: pulumi.Input<inputs.finspace.KxClusterCapacityConfiguration>;
279
+ /**
280
+ * Details of the custom code that you want to use inside a cluster when analyzing data. Consists of the S3 source bucket, location, object version, and the relative path from where the custom code is loaded into the cluster. See code.
281
+ */
282
+ code?: pulumi.Input<inputs.finspace.KxClusterCode>;
283
+ /**
284
+ * List of key-value pairs to make available inside the cluster.
285
+ */
286
+ commandLineArguments?: pulumi.Input<{
287
+ [key: string]: pulumi.Input<string>;
288
+ }>;
289
+ /**
290
+ * KX database that will be available for querying. Defined below.
291
+ */
292
+ databases?: pulumi.Input<pulumi.Input<inputs.finspace.KxClusterDatabase>[]>;
293
+ /**
294
+ * Description of the cluster.
295
+ */
296
+ description?: pulumi.Input<string>;
297
+ /**
298
+ * Unique identifier for the KX environment.
299
+ */
300
+ environmentId: pulumi.Input<string>;
301
+ /**
302
+ * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.
303
+ */
304
+ executionRole?: pulumi.Input<string>;
305
+ /**
306
+ * Path to Q program that will be run at launch of a cluster. This is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
307
+ */
308
+ initializationScript?: pulumi.Input<string>;
309
+ /**
310
+ * Unique name for the cluster that you want to create.
311
+ */
312
+ name: pulumi.Input<string>;
313
+ /**
314
+ * Version of FinSpace Managed kdb to run.
315
+ */
316
+ releaseLabel: pulumi.Input<string>;
317
+ /**
318
+ * Size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose `type` as RDB. All the data written to this storage space is lost when the cluster node is restarted. See savedown_storage_configuration.
319
+ */
320
+ savedownStorageConfiguration?: pulumi.Input<inputs.finspace.KxClusterSavedownStorageConfiguration>;
321
+ /**
322
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
323
+ */
324
+ tags?: pulumi.Input<{
325
+ [key: string]: pulumi.Input<string>;
326
+ }>;
327
+ /**
328
+ * Type of KDB database. The following types are available:
329
+ * * HDB - Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed KX databases mounted to the cluster.
330
+ * * RDB - Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the `savedownStorageConfiguration` parameter.
331
+ * * GATEWAY - A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.
332
+ */
333
+ type: pulumi.Input<string>;
334
+ /**
335
+ * Configuration details about the network where the Privatelink endpoint of the cluster resides. See vpc_configuration.
336
+ *
337
+ * The following arguments are optional:
338
+ */
339
+ vpcConfiguration: pulumi.Input<inputs.finspace.KxClusterVpcConfiguration>;
340
+ }
@@ -0,0 +1,129 @@
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.KxCluster = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS FinSpace Kx Cluster.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ## Import
14
+ *
15
+ * An AWS FinSpace Kx Cluster can be imported using the `id` (environment ID and cluster name, comma-delimited), e.g.,
16
+ *
17
+ * ```sh
18
+ * $ pulumi import aws:finspace/kxCluster:KxCluster example n3ceo7wqxoxcti5tujqwzs,my-tf-kx-cluster
19
+ * ```
20
+ */
21
+ class KxCluster extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing KxCluster resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name, id, state, opts) {
32
+ return new KxCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
33
+ }
34
+ /**
35
+ * Returns true if the given object is an instance of KxCluster. 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) {
39
+ if (obj === undefined || obj === null) {
40
+ return false;
41
+ }
42
+ return obj['__pulumiType'] === KxCluster.__pulumiType;
43
+ }
44
+ constructor(name, argsOrState, opts) {
45
+ let resourceInputs = {};
46
+ opts = opts || {};
47
+ if (opts.id) {
48
+ const state = argsOrState;
49
+ resourceInputs["arn"] = state ? state.arn : undefined;
50
+ resourceInputs["autoScalingConfiguration"] = state ? state.autoScalingConfiguration : undefined;
51
+ resourceInputs["availabilityZoneId"] = state ? state.availabilityZoneId : undefined;
52
+ resourceInputs["azMode"] = state ? state.azMode : undefined;
53
+ resourceInputs["cacheStorageConfigurations"] = state ? state.cacheStorageConfigurations : undefined;
54
+ resourceInputs["capacityConfiguration"] = state ? state.capacityConfiguration : undefined;
55
+ resourceInputs["code"] = state ? state.code : undefined;
56
+ resourceInputs["commandLineArguments"] = state ? state.commandLineArguments : undefined;
57
+ resourceInputs["createdTimestamp"] = state ? state.createdTimestamp : undefined;
58
+ resourceInputs["databases"] = state ? state.databases : undefined;
59
+ resourceInputs["description"] = state ? state.description : undefined;
60
+ resourceInputs["environmentId"] = state ? state.environmentId : undefined;
61
+ resourceInputs["executionRole"] = state ? state.executionRole : undefined;
62
+ resourceInputs["initializationScript"] = state ? state.initializationScript : undefined;
63
+ resourceInputs["lastModifiedTimestamp"] = state ? state.lastModifiedTimestamp : undefined;
64
+ resourceInputs["name"] = state ? state.name : undefined;
65
+ resourceInputs["releaseLabel"] = state ? state.releaseLabel : undefined;
66
+ resourceInputs["savedownStorageConfiguration"] = state ? state.savedownStorageConfiguration : undefined;
67
+ resourceInputs["status"] = state ? state.status : undefined;
68
+ resourceInputs["statusReason"] = state ? state.statusReason : undefined;
69
+ resourceInputs["tags"] = state ? state.tags : undefined;
70
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
71
+ resourceInputs["type"] = state ? state.type : undefined;
72
+ resourceInputs["vpcConfiguration"] = state ? state.vpcConfiguration : undefined;
73
+ }
74
+ else {
75
+ const args = argsOrState;
76
+ if ((!args || args.azMode === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'azMode'");
78
+ }
79
+ if ((!args || args.capacityConfiguration === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'capacityConfiguration'");
81
+ }
82
+ if ((!args || args.environmentId === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'environmentId'");
84
+ }
85
+ if ((!args || args.name === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'name'");
87
+ }
88
+ if ((!args || args.releaseLabel === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'releaseLabel'");
90
+ }
91
+ if ((!args || args.type === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'type'");
93
+ }
94
+ if ((!args || args.vpcConfiguration === undefined) && !opts.urn) {
95
+ throw new Error("Missing required property 'vpcConfiguration'");
96
+ }
97
+ resourceInputs["autoScalingConfiguration"] = args ? args.autoScalingConfiguration : undefined;
98
+ resourceInputs["availabilityZoneId"] = args ? args.availabilityZoneId : undefined;
99
+ resourceInputs["azMode"] = args ? args.azMode : undefined;
100
+ resourceInputs["cacheStorageConfigurations"] = args ? args.cacheStorageConfigurations : undefined;
101
+ resourceInputs["capacityConfiguration"] = args ? args.capacityConfiguration : undefined;
102
+ resourceInputs["code"] = args ? args.code : undefined;
103
+ resourceInputs["commandLineArguments"] = args ? args.commandLineArguments : undefined;
104
+ resourceInputs["databases"] = args ? args.databases : undefined;
105
+ resourceInputs["description"] = args ? args.description : undefined;
106
+ resourceInputs["environmentId"] = args ? args.environmentId : undefined;
107
+ resourceInputs["executionRole"] = args ? args.executionRole : undefined;
108
+ resourceInputs["initializationScript"] = args ? args.initializationScript : undefined;
109
+ resourceInputs["name"] = args ? args.name : undefined;
110
+ resourceInputs["releaseLabel"] = args ? args.releaseLabel : undefined;
111
+ resourceInputs["savedownStorageConfiguration"] = args ? args.savedownStorageConfiguration : undefined;
112
+ resourceInputs["tags"] = args ? args.tags : undefined;
113
+ resourceInputs["type"] = args ? args.type : undefined;
114
+ resourceInputs["vpcConfiguration"] = args ? args.vpcConfiguration : undefined;
115
+ resourceInputs["arn"] = undefined /*out*/;
116
+ resourceInputs["createdTimestamp"] = undefined /*out*/;
117
+ resourceInputs["lastModifiedTimestamp"] = undefined /*out*/;
118
+ resourceInputs["status"] = undefined /*out*/;
119
+ resourceInputs["statusReason"] = undefined /*out*/;
120
+ resourceInputs["tagsAll"] = undefined /*out*/;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ super(KxCluster.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.KxCluster = KxCluster;
127
+ /** @internal */
128
+ KxCluster.__pulumiType = 'aws:finspace/kxCluster:KxCluster';
129
+ //# sourceMappingURL=kxCluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kxCluster.js","sourceRoot":"","sources":["../../finspace/kxCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAA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CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AArNL,8BAsNC;AAxMG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
@@ -0,0 +1,165 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for managing an AWS FinSpace Kx Database.
4
+ *
5
+ * ## Example Usage
6
+ * ### Basic Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const exampleKey = new aws.kms.Key("exampleKey", {
13
+ * description: "Example KMS Key",
14
+ * deletionWindowInDays: 7,
15
+ * });
16
+ * const exampleKxEnvironment = new aws.finspace.KxEnvironment("exampleKxEnvironment", {
17
+ * name: "my-tf-kx-environment",
18
+ * kmsKeyId: exampleKey.arn,
19
+ * });
20
+ * const exampleKxDatabase = new aws.finspace.KxDatabase("exampleKxDatabase", {
21
+ * environmentId: exampleKxEnvironment.id,
22
+ * name: "my-tf-kx-database",
23
+ * description: "Example database description",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * An AWS FinSpace Kx Database can be imported using the `id` (environment ID and database name, comma-delimited), e.g.,
30
+ *
31
+ * ```sh
32
+ * $ pulumi import aws:finspace/kxDatabase:KxDatabase example n3ceo7wqxoxcti5tujqwzs,my-tf-kx-database
33
+ * ```
34
+ */
35
+ export declare class KxDatabase extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing KxDatabase resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KxDatabaseState, opts?: pulumi.CustomResourceOptions): KxDatabase;
46
+ /**
47
+ * Returns true if the given object is an instance of KxDatabase. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj: any): obj is KxDatabase;
51
+ /**
52
+ * Amazon Resource Name (ARN) identifier of the KX database.
53
+ */
54
+ readonly arn: pulumi.Output<string>;
55
+ /**
56
+ * Timestamp at which the databse is created in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
57
+ */
58
+ readonly createdTimestamp: pulumi.Output<string>;
59
+ /**
60
+ * Description of the KX database.
61
+ */
62
+ readonly description: pulumi.Output<string | undefined>;
63
+ /**
64
+ * Unique identifier for the KX environment.
65
+ */
66
+ readonly environmentId: pulumi.Output<string>;
67
+ /**
68
+ * Last timestamp at which the database was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
69
+ */
70
+ readonly lastModifiedTimestamp: pulumi.Output<string>;
71
+ /**
72
+ * Name of the KX database.
73
+ *
74
+ * The following arguments are optional:
75
+ */
76
+ readonly name: pulumi.Output<string>;
77
+ /**
78
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
79
+ */
80
+ readonly tags: pulumi.Output<{
81
+ [key: string]: string;
82
+ } | undefined>;
83
+ /**
84
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
85
+ */
86
+ readonly tagsAll: pulumi.Output<{
87
+ [key: string]: string;
88
+ }>;
89
+ /**
90
+ * Create a KxDatabase resource with the given unique name, arguments, and options.
91
+ *
92
+ * @param name The _unique_ name of the resource.
93
+ * @param args The arguments to use to populate this resource's properties.
94
+ * @param opts A bag of options that control this resource's behavior.
95
+ */
96
+ constructor(name: string, args: KxDatabaseArgs, opts?: pulumi.CustomResourceOptions);
97
+ }
98
+ /**
99
+ * Input properties used for looking up and filtering KxDatabase resources.
100
+ */
101
+ export interface KxDatabaseState {
102
+ /**
103
+ * Amazon Resource Name (ARN) identifier of the KX database.
104
+ */
105
+ arn?: pulumi.Input<string>;
106
+ /**
107
+ * Timestamp at which the databse is created in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
108
+ */
109
+ createdTimestamp?: pulumi.Input<string>;
110
+ /**
111
+ * Description of the KX database.
112
+ */
113
+ description?: pulumi.Input<string>;
114
+ /**
115
+ * Unique identifier for the KX environment.
116
+ */
117
+ environmentId?: pulumi.Input<string>;
118
+ /**
119
+ * Last timestamp at which the database was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
120
+ */
121
+ lastModifiedTimestamp?: pulumi.Input<string>;
122
+ /**
123
+ * Name of the KX database.
124
+ *
125
+ * The following arguments are optional:
126
+ */
127
+ name?: pulumi.Input<string>;
128
+ /**
129
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
130
+ */
131
+ tags?: pulumi.Input<{
132
+ [key: string]: pulumi.Input<string>;
133
+ }>;
134
+ /**
135
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
136
+ */
137
+ tagsAll?: pulumi.Input<{
138
+ [key: string]: pulumi.Input<string>;
139
+ }>;
140
+ }
141
+ /**
142
+ * The set of arguments for constructing a KxDatabase resource.
143
+ */
144
+ export interface KxDatabaseArgs {
145
+ /**
146
+ * Description of the KX database.
147
+ */
148
+ description?: pulumi.Input<string>;
149
+ /**
150
+ * Unique identifier for the KX environment.
151
+ */
152
+ environmentId: pulumi.Input<string>;
153
+ /**
154
+ * Name of the KX database.
155
+ *
156
+ * The following arguments are optional:
157
+ */
158
+ name: pulumi.Input<string>;
159
+ /**
160
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
161
+ */
162
+ tags?: pulumi.Input<{
163
+ [key: string]: pulumi.Input<string>;
164
+ }>;
165
+ }