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

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 (568) 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/index.d.ts +0 -27
  9. package/applicationloadbalancing/index.js +1 -51
  10. package/applicationloadbalancing/index.js.map +1 -1
  11. package/appmesh/virtualGateway.d.ts +23 -2
  12. package/appmesh/virtualGateway.js +23 -2
  13. package/appmesh/virtualGateway.js.map +1 -1
  14. package/appmesh/virtualNode.d.ts +8 -8
  15. package/appmesh/virtualNode.js +8 -8
  16. package/appmesh/virtualRouter.d.ts +2 -2
  17. package/appmesh/virtualRouter.js +2 -2
  18. package/appsync/dataSource.d.ts +18 -18
  19. package/appsync/graphQLApi.d.ts +0 -134
  20. package/appsync/graphQLApi.js +0 -134
  21. package/appsync/graphQLApi.js.map +1 -1
  22. package/backup/regionSettings.d.ts +3 -3
  23. package/batch/computeEnvironment.d.ts +2 -0
  24. package/batch/computeEnvironment.js +2 -0
  25. package/batch/computeEnvironment.js.map +1 -1
  26. package/budgets/getBudget.d.ts +130 -0
  27. package/budgets/getBudget.js +51 -0
  28. package/budgets/getBudget.js.map +1 -0
  29. package/budgets/index.d.ts +3 -0
  30. package/budgets/index.js +4 -1
  31. package/budgets/index.js.map +1 -1
  32. package/chime/index.d.ts +9 -0
  33. package/chime/index.js +16 -1
  34. package/chime/index.js.map +1 -1
  35. package/chime/sdkvoiceGlobalSettings.d.ts +73 -0
  36. package/chime/sdkvoiceGlobalSettings.js +75 -0
  37. package/chime/sdkvoiceGlobalSettings.js.map +1 -0
  38. package/chime/sdkvoiceSipMediaApplication.d.ts +145 -0
  39. package/chime/sdkvoiceSipMediaApplication.js +95 -0
  40. package/chime/sdkvoiceSipMediaApplication.js.map +1 -0
  41. package/chime/sdkvoiceSipRule.d.ts +134 -0
  42. package/chime/sdkvoiceSipRule.js +99 -0
  43. package/chime/sdkvoiceSipRule.js.map +1 -0
  44. package/chime/voiceConnector.d.ts +44 -0
  45. package/chime/voiceConnector.js +6 -0
  46. package/chime/voiceConnector.js.map +1 -1
  47. package/cleanrooms/collaboration.d.ts +256 -0
  48. package/cleanrooms/collaboration.js +123 -0
  49. package/cleanrooms/collaboration.js.map +1 -0
  50. package/cleanrooms/index.d.ts +3 -0
  51. package/cleanrooms/index.js +22 -0
  52. package/cleanrooms/index.js.map +1 -0
  53. package/cloudfront/cachePolicy.d.ts +22 -22
  54. package/cloudfront/cachePolicy.js +2 -2
  55. package/cloudtrail/index.d.ts +0 -3
  56. package/cloudtrail/index.js +1 -4
  57. package/cloudtrail/index.js.map +1 -1
  58. package/cloudwatch/eventTarget.d.ts +8 -2
  59. package/cloudwatch/eventTarget.js +8 -2
  60. package/cloudwatch/eventTarget.js.map +1 -1
  61. package/cloudwatch/internetMonitor.d.ts +12 -0
  62. package/cloudwatch/internetMonitor.js +2 -0
  63. package/cloudwatch/internetMonitor.js.map +1 -1
  64. package/cloudwatch/metricStream.d.ts +94 -0
  65. package/cloudwatch/metricStream.js +94 -0
  66. package/cloudwatch/metricStream.js.map +1 -1
  67. package/codebuild/project.d.ts +2 -2
  68. package/codebuild/project.js +2 -2
  69. package/cognito/identityPool.d.ts +1 -1
  70. package/cognito/identityPool.js +1 -1
  71. package/cognito/index.d.ts +3 -0
  72. package/cognito/index.js +6 -1
  73. package/cognito/index.js.map +1 -1
  74. package/cognito/managedUserPoolClient.d.ts +394 -0
  75. package/cognito/managedUserPoolClient.js +170 -0
  76. package/cognito/managedUserPoolClient.js.map +1 -0
  77. package/cognito/userPool.d.ts +3 -3
  78. package/cognito/userPoolClient.d.ts +14 -14
  79. package/cognito/userPoolClient.js +1 -1
  80. package/config/vars.d.ts +5 -0
  81. package/config/vars.js +6 -0
  82. package/config/vars.js.map +1 -1
  83. package/cur/reportDefinition.d.ts +7 -4
  84. package/cur/reportDefinition.js +4 -1
  85. package/cur/reportDefinition.js.map +1 -1
  86. package/datasync/locationObjectStorage.d.ts +3 -3
  87. package/ec2/fleet.d.ts +5 -5
  88. package/ec2/fleet.js +6 -6
  89. package/ec2/fleet.js.map +1 -1
  90. package/ec2/getInstances.d.ts +54 -0
  91. package/ec2/getInstances.js +54 -0
  92. package/ec2/getInstances.js.map +1 -1
  93. package/ec2/getVpcPeeringConnections.d.ts +34 -0
  94. package/ec2/getVpcPeeringConnections.js +34 -0
  95. package/ec2/getVpcPeeringConnections.js.map +1 -1
  96. package/ec2/index.d.ts +0 -3
  97. package/ec2/index.js +2 -7
  98. package/ec2/index.js.map +1 -1
  99. package/ec2/instance.d.ts +61 -0
  100. package/ec2/instance.js +39 -0
  101. package/ec2/instance.js.map +1 -1
  102. package/ec2/managedPrefixListEntry.d.ts +8 -16
  103. package/ec2/managedPrefixListEntry.js +5 -13
  104. package/ec2/managedPrefixListEntry.js.map +1 -1
  105. package/ec2/peeringConnectionOptions.d.ts +6 -18
  106. package/ec2/peeringConnectionOptions.js.map +1 -1
  107. package/ec2/securityGroup.d.ts +14 -0
  108. package/ec2/securityGroup.js +14 -0
  109. package/ec2/securityGroup.js.map +1 -1
  110. package/ec2/securityGroupRule.d.ts +6 -0
  111. package/ec2/securityGroupRule.js.map +1 -1
  112. package/ec2/spotInstanceRequest.d.ts +7 -7
  113. package/ec2/spotInstanceRequest.js +1 -1
  114. package/ec2transitgateway/connect.d.ts +3 -3
  115. package/ec2transitgateway/connectPeer.d.ts +16 -0
  116. package/ec2transitgateway/connectPeer.js +4 -0
  117. package/ec2transitgateway/connectPeer.js.map +1 -1
  118. package/ec2transitgateway/getConnectPeer.d.ts +8 -0
  119. package/ec2transitgateway/getConnectPeer.js.map +1 -1
  120. package/ec2transitgateway/getVpcAttachments.d.ts +32 -0
  121. package/ec2transitgateway/getVpcAttachments.js +32 -0
  122. package/ec2transitgateway/getVpcAttachments.js.map +1 -1
  123. package/ec2transitgateway/index.d.ts +3 -0
  124. package/ec2transitgateway/index.js +6 -1
  125. package/ec2transitgateway/index.js.map +1 -1
  126. package/ec2transitgateway/instanceConnectEndpoint.d.ts +183 -0
  127. package/ec2transitgateway/instanceConnectEndpoint.js +96 -0
  128. package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -0
  129. package/ec2transitgateway/routeTableAssociation.d.ts +12 -0
  130. package/ec2transitgateway/routeTableAssociation.js +2 -0
  131. package/ec2transitgateway/routeTableAssociation.js.map +1 -1
  132. package/ecr/getPullThroughCacheRule.d.ts +67 -0
  133. package/ecr/getPullThroughCacheRule.js +47 -0
  134. package/ecr/getPullThroughCacheRule.js.map +1 -0
  135. package/ecr/index.d.ts +3 -0
  136. package/ecr/index.js +4 -1
  137. package/ecr/index.js.map +1 -1
  138. package/eks/addon.d.ts +5 -10
  139. package/eks/addon.js +2 -7
  140. package/eks/addon.js.map +1 -1
  141. package/eks/cluster.d.ts +2 -4
  142. package/eks/cluster.js +2 -4
  143. package/eks/cluster.js.map +1 -1
  144. package/eks/getAddonVersion.d.ts +4 -8
  145. package/eks/getAddonVersion.js +4 -8
  146. package/eks/getAddonVersion.js.map +1 -1
  147. package/eks/getCluster.d.ts +6 -12
  148. package/eks/getCluster.js +6 -12
  149. package/eks/getCluster.js.map +1 -1
  150. package/eks/nodeGroup.d.ts +24 -15
  151. package/eks/nodeGroup.js.map +1 -1
  152. package/elasticache/cluster.d.ts +6 -3
  153. package/elasticache/cluster.js.map +1 -1
  154. package/elasticache/globalReplicationGroup.d.ts +6 -3
  155. package/elasticache/globalReplicationGroup.js.map +1 -1
  156. package/elasticache/replicationGroup.d.ts +6 -3
  157. package/elasticache/replicationGroup.js.map +1 -1
  158. package/elb/loadBalancer.d.ts +3 -3
  159. package/finspace/index.d.ts +12 -0
  160. package/finspace/index.js +37 -0
  161. package/finspace/index.js.map +1 -0
  162. package/finspace/kxCluster.d.ts +340 -0
  163. package/finspace/kxCluster.js +129 -0
  164. package/finspace/kxCluster.js.map +1 -0
  165. package/finspace/kxDatabase.d.ts +165 -0
  166. package/finspace/kxDatabase.js +102 -0
  167. package/finspace/kxDatabase.js.map +1 -0
  168. package/finspace/kxEnvironment.d.ts +235 -0
  169. package/finspace/kxEnvironment.js +132 -0
  170. package/finspace/kxEnvironment.js.map +1 -0
  171. package/finspace/kxUser.d.ts +160 -0
  172. package/finspace/kxUser.js +112 -0
  173. package/finspace/kxUser.js.map +1 -0
  174. package/fis/experimentTemplate.d.ts +12 -0
  175. package/fis/experimentTemplate.js +2 -0
  176. package/fis/experimentTemplate.js.map +1 -1
  177. package/fms/policy.d.ts +2 -0
  178. package/fms/policy.js +2 -0
  179. package/fms/policy.js.map +1 -1
  180. package/getArn.d.ts +2 -3
  181. package/getArn.js +1 -0
  182. package/getArn.js.map +1 -1
  183. package/getBillingServiceAccount.d.ts +67 -2
  184. package/getBillingServiceAccount.js +56 -3
  185. package/getBillingServiceAccount.js.map +1 -1
  186. package/getCallerIdentity.d.ts +37 -2
  187. package/getCallerIdentity.js +26 -3
  188. package/getCallerIdentity.js.map +1 -1
  189. package/getDefaultTags.d.ts +2 -15
  190. package/getDefaultTags.js +1 -1
  191. package/getDefaultTags.js.map +1 -1
  192. package/getIpRanges.d.ts +2 -3
  193. package/getIpRanges.js +1 -0
  194. package/getIpRanges.js.map +1 -1
  195. package/getPartition.d.ts +41 -2
  196. package/getPartition.js +30 -3
  197. package/getPartition.js.map +1 -1
  198. package/getRegion.d.ts +2 -3
  199. package/getRegion.js +1 -0
  200. package/getRegion.js.map +1 -1
  201. package/getRegions.d.ts +9 -1
  202. package/getRegions.js +1 -0
  203. package/getRegions.js.map +1 -1
  204. package/getService.d.ts +2 -3
  205. package/getService.js +1 -0
  206. package/getService.js.map +1 -1
  207. package/globalaccelerator/customRoutingAccelerator.d.ts +192 -0
  208. package/globalaccelerator/customRoutingAccelerator.js +100 -0
  209. package/globalaccelerator/customRoutingAccelerator.js.map +1 -0
  210. package/globalaccelerator/customRoutingEndpointGroup.d.ts +130 -0
  211. package/globalaccelerator/customRoutingEndpointGroup.js +93 -0
  212. package/globalaccelerator/customRoutingEndpointGroup.js.map +1 -0
  213. package/globalaccelerator/customRoutingListener.d.ts +104 -0
  214. package/globalaccelerator/customRoutingListener.js +93 -0
  215. package/globalaccelerator/customRoutingListener.js.map +1 -0
  216. package/globalaccelerator/getAccelerator.d.ts +3 -9
  217. package/globalaccelerator/getAccelerator.js +1 -1
  218. package/globalaccelerator/getAccelerator.js.map +1 -1
  219. package/globalaccelerator/getCustomRoutingAccelerator.d.ts +96 -0
  220. package/globalaccelerator/getCustomRoutingAccelerator.js +58 -0
  221. package/globalaccelerator/getCustomRoutingAccelerator.js.map +1 -0
  222. package/globalaccelerator/index.d.ts +12 -0
  223. package/globalaccelerator/index.js +19 -1
  224. package/globalaccelerator/index.js.map +1 -1
  225. package/glue/crawler.d.ts +21 -0
  226. package/glue/crawler.js +2 -0
  227. package/glue/crawler.js.map +1 -1
  228. package/glue/devEndpoint.d.ts +3 -3
  229. package/glue/workflow.d.ts +3 -3
  230. package/guardduty/getFindingIds.d.ts +66 -0
  231. package/guardduty/getFindingIds.js +49 -0
  232. package/guardduty/getFindingIds.js.map +1 -0
  233. package/guardduty/index.d.ts +3 -0
  234. package/guardduty/index.js +4 -1
  235. package/guardduty/index.js.map +1 -1
  236. package/iam/{getOpenidConnectProvider.d.ts → getOpenIdConnectProvider.d.ts} +12 -12
  237. package/iam/{getOpenidConnectProvider.js → getOpenIdConnectProvider.js} +12 -12
  238. package/iam/{getOpenidConnectProvider.js.map → getOpenIdConnectProvider.js.map} +1 -1
  239. package/iam/getPrincipalPolicySimulation.d.ts +167 -0
  240. package/iam/getPrincipalPolicySimulation.js +48 -0
  241. package/iam/getPrincipalPolicySimulation.js.map +1 -0
  242. package/iam/index.d.ts +6 -3
  243. package/iam/index.js +8 -5
  244. package/iam/index.js.map +1 -1
  245. package/iam/virtualMfaDevice.d.ts +22 -2
  246. package/iam/virtualMfaDevice.js +8 -0
  247. package/iam/virtualMfaDevice.js.map +1 -1
  248. package/index.d.ts +9 -24
  249. package/index.js +15 -30
  250. package/index.js.map +1 -1
  251. package/iot/getEndpoint.d.ts +50 -0
  252. package/iot/getEndpoint.js +50 -0
  253. package/iot/getEndpoint.js.map +1 -1
  254. package/iot/topicRule.d.ts +35 -35
  255. package/iot/topicRule.js +16 -16
  256. package/iot/topicRule.js.map +1 -1
  257. package/kendra/dataSource.d.ts +32 -9
  258. package/kendra/dataSource.js +23 -0
  259. package/kendra/dataSource.js.map +1 -1
  260. package/kendra/querySuggestionsBlockList.d.ts +24 -24
  261. package/kendra/querySuggestionsBlockList.js +2 -2
  262. package/keyspaces/table.d.ts +12 -0
  263. package/keyspaces/table.js +2 -0
  264. package/keyspaces/table.js.map +1 -1
  265. package/kinesis/firehoseDeliveryStream.d.ts +39 -0
  266. package/kinesis/firehoseDeliveryStream.js +39 -0
  267. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  268. package/lambda/eventSourceMapping.d.ts +6 -48
  269. package/lambda/eventSourceMapping.js +0 -42
  270. package/lambda/eventSourceMapping.js.map +1 -1
  271. package/lambda/function.d.ts +51 -4
  272. package/lambda/function.js +36 -1
  273. package/lambda/function.js.map +1 -1
  274. package/lambda/provisionedConcurrencyConfig.d.ts +2 -2
  275. package/lambda/provisionedConcurrencyConfig.js +2 -2
  276. package/lb/targetGroupAttachment.d.ts +17 -10
  277. package/lb/targetGroupAttachment.js +2 -1
  278. package/lb/targetGroupAttachment.js.map +1 -1
  279. package/msk/cluster.d.ts +108 -0
  280. package/msk/cluster.js +108 -0
  281. package/msk/cluster.js.map +1 -1
  282. package/opensearch/getServerlessAccessPolicy.d.ts +81 -0
  283. package/opensearch/getServerlessAccessPolicy.js +52 -0
  284. package/opensearch/getServerlessAccessPolicy.js.map +1 -0
  285. package/opensearch/getServerlessCollection.d.ts +101 -0
  286. package/opensearch/getServerlessCollection.js +51 -0
  287. package/opensearch/getServerlessCollection.js.map +1 -0
  288. package/opensearch/getServerlessSecurityConfig.d.ts +91 -0
  289. package/opensearch/getServerlessSecurityConfig.js +50 -0
  290. package/opensearch/getServerlessSecurityConfig.js.map +1 -0
  291. package/opensearch/getServerlessSecurityPolicy.d.ts +90 -0
  292. package/opensearch/getServerlessSecurityPolicy.js +50 -0
  293. package/opensearch/getServerlessSecurityPolicy.js.map +1 -0
  294. package/opensearch/getServerlessVpcEndpoint.d.ts +79 -0
  295. package/opensearch/getServerlessVpcEndpoint.js +47 -0
  296. package/opensearch/getServerlessVpcEndpoint.js.map +1 -0
  297. package/opensearch/index.d.ts +30 -0
  298. package/opensearch/index.js +41 -1
  299. package/opensearch/index.js.map +1 -1
  300. package/opensearch/serverlessAccessPolicy.d.ts +138 -0
  301. package/opensearch/serverlessAccessPolicy.js +106 -0
  302. package/opensearch/serverlessAccessPolicy.js.map +1 -0
  303. package/opensearch/serverlessCollection.d.ts +167 -0
  304. package/opensearch/serverlessCollection.js +104 -0
  305. package/opensearch/serverlessCollection.js.map +1 -0
  306. package/opensearch/serverlessSecurityConfig.d.ts +113 -0
  307. package/opensearch/serverlessSecurityConfig.js +76 -0
  308. package/opensearch/serverlessSecurityConfig.js.map +1 -0
  309. package/opensearch/serverlessSecurityPolicy.d.ts +262 -0
  310. package/opensearch/serverlessSecurityPolicy.js +230 -0
  311. package/opensearch/serverlessSecurityPolicy.js.map +1 -0
  312. package/opensearch/serverlessVpcEndpoint.d.ts +120 -0
  313. package/opensearch/serverlessVpcEndpoint.js +91 -0
  314. package/opensearch/serverlessVpcEndpoint.js.map +1 -0
  315. package/organizations/getPolicies.d.ts +45 -0
  316. package/organizations/getPolicies.js +29 -0
  317. package/organizations/getPolicies.js.map +1 -0
  318. package/organizations/getPoliciesForTarget.d.ts +54 -0
  319. package/organizations/getPoliciesForTarget.js +30 -0
  320. package/organizations/getPoliciesForTarget.js.map +1 -0
  321. package/organizations/index.d.ts +9 -0
  322. package/organizations/index.js +12 -1
  323. package/organizations/index.js.map +1 -1
  324. package/organizations/resourcePolicy.d.ts +137 -0
  325. package/organizations/resourcePolicy.js +109 -0
  326. package/organizations/resourcePolicy.js.map +1 -0
  327. package/package.json +2 -2
  328. package/package.json.dev +2 -2
  329. package/pinpoint/smsChannel.d.ts +18 -18
  330. package/pinpoint/smsChannel.js +2 -2
  331. package/pipes/pipe.d.ts +52 -19
  332. package/pipes/pipe.js +25 -8
  333. package/pipes/pipe.js.map +1 -1
  334. package/provider.d.ts +10 -0
  335. package/provider.js +2 -1
  336. package/provider.js.map +1 -1
  337. package/quicksight/dataSet.d.ts +2 -2
  338. package/quicksight/dataSet.js +0 -3
  339. package/quicksight/dataSet.js.map +1 -1
  340. package/quicksight/getTheme.d.ts +133 -0
  341. package/quicksight/getTheme.js +51 -0
  342. package/quicksight/getTheme.js.map +1 -0
  343. package/quicksight/index.d.ts +6 -0
  344. package/quicksight/index.js +9 -1
  345. package/quicksight/index.js.map +1 -1
  346. package/quicksight/refreshSchedule.d.ts +44 -0
  347. package/quicksight/refreshSchedule.js +44 -0
  348. package/quicksight/refreshSchedule.js.map +1 -1
  349. package/quicksight/theme.d.ts +211 -0
  350. package/quicksight/theme.js +97 -0
  351. package/quicksight/theme.js.map +1 -0
  352. package/rds/eventSubscription.d.ts +3 -3
  353. package/rds/getInstance.d.ts +1 -1
  354. package/rds/instance.d.ts +0 -9
  355. package/rds/instance.js.map +1 -1
  356. package/rds/proxy.d.ts +3 -3
  357. package/redshift/cluster.d.ts +8 -0
  358. package/redshift/cluster.js +2 -0
  359. package/redshift/cluster.js.map +1 -1
  360. package/redshift/getCluster.d.ts +5 -1
  361. package/redshift/getCluster.js.map +1 -1
  362. package/s3/bucketNotification.d.ts +15 -3
  363. package/s3/bucketNotification.js +12 -0
  364. package/s3/bucketNotification.js.map +1 -1
  365. package/securityhub/standardsControl.d.ts +3 -3
  366. package/servicecatalog/getProduct.d.ts +13 -13
  367. package/servicecatalog/getProduct.js +4 -4
  368. package/ses/activeReceiptRuleSet.d.ts +8 -0
  369. package/ses/activeReceiptRuleSet.js +8 -0
  370. package/ses/activeReceiptRuleSet.js.map +1 -1
  371. package/ses/index.d.ts +0 -3
  372. package/ses/index.js +1 -6
  373. package/ses/index.js.map +1 -1
  374. package/sesv2/emailIdentity.d.ts +15 -3
  375. package/sesv2/emailIdentity.js.map +1 -1
  376. package/sesv2/getEmailIdentity.d.ts +97 -0
  377. package/sesv2/getEmailIdentity.js +50 -0
  378. package/sesv2/getEmailIdentity.js.map +1 -0
  379. package/sesv2/getEmailIdentityMailFromAttributes.d.ts +75 -0
  380. package/sesv2/getEmailIdentityMailFromAttributes.js +55 -0
  381. package/sesv2/getEmailIdentityMailFromAttributes.js.map +1 -0
  382. package/sesv2/index.d.ts +6 -0
  383. package/sesv2/index.js +7 -1
  384. package/sesv2/index.js.map +1 -1
  385. package/sfn/alias.d.ts +136 -0
  386. package/sfn/alias.js +103 -0
  387. package/sfn/alias.js.map +1 -0
  388. package/sfn/getAlias.d.ts +97 -0
  389. package/sfn/getAlias.js +53 -0
  390. package/sfn/getAlias.js.map +1 -0
  391. package/sfn/getStateMachine.d.ts +5 -0
  392. package/sfn/getStateMachine.js.map +1 -1
  393. package/sfn/getStateMachineVersions.d.ts +65 -0
  394. package/sfn/getStateMachineVersions.js +49 -0
  395. package/sfn/getStateMachineVersions.js.map +1 -0
  396. package/sfn/index.d.ts +9 -0
  397. package/sfn/index.js +12 -1
  398. package/sfn/index.js.map +1 -1
  399. package/sfn/stateMachine.d.ts +45 -0
  400. package/sfn/stateMachine.js +35 -0
  401. package/sfn/stateMachine.js.map +1 -1
  402. package/ssm/getParameter.d.ts +1 -0
  403. package/ssm/getParameter.js.map +1 -1
  404. package/ssm/patchBaseline.d.ts +6 -0
  405. package/ssm/patchBaseline.js.map +1 -1
  406. package/timestreamwrite/table.d.ts +30 -0
  407. package/timestreamwrite/table.js +20 -0
  408. package/timestreamwrite/table.js.map +1 -1
  409. package/transfer/agreement.d.ts +170 -0
  410. package/transfer/agreement.js +110 -0
  411. package/transfer/agreement.js.map +1 -0
  412. package/transfer/certificate.d.ts +172 -0
  413. package/transfer/certificate.js +103 -0
  414. package/transfer/certificate.js.map +1 -0
  415. package/transfer/connector.d.ts +152 -0
  416. package/transfer/connector.js +104 -0
  417. package/transfer/connector.js.map +1 -0
  418. package/transfer/index.d.ts +12 -0
  419. package/transfer/index.js +21 -1
  420. package/transfer/index.js.map +1 -1
  421. package/transfer/profile.d.ts +117 -0
  422. package/transfer/profile.js +78 -0
  423. package/transfer/profile.js.map +1 -0
  424. package/types/input.d.ts +11137 -100596
  425. package/types/output.d.ts +32173 -121499
  426. package/utils.d.ts +0 -1
  427. package/utils.js +0 -6
  428. package/utils.js.map +1 -1
  429. package/vpc/securityGroupEgressRule.d.ts +3 -3
  430. package/vpc/securityGroupEgressRule.js +4 -1
  431. package/vpc/securityGroupEgressRule.js.map +1 -1
  432. package/vpc/securityGroupIngressRule.d.ts +3 -3
  433. package/vpc/securityGroupIngressRule.js +4 -1
  434. package/vpc/securityGroupIngressRule.js.map +1 -1
  435. package/wafv2/getIpSet.d.ts +1 -1
  436. package/wafv2/ipSet.d.ts +3 -3
  437. package/wafv2/regexPatternSet.d.ts +3 -3
  438. package/wafv2/ruleGroup.d.ts +0 -49
  439. package/wafv2/ruleGroup.js +0 -49
  440. package/wafv2/ruleGroup.js.map +1 -1
  441. package/wafv2/webAcl.d.ts +6 -246
  442. package/wafv2/webAcl.js +0 -240
  443. package/wafv2/webAcl.js.map +1 -1
  444. package/wafv2/webAclLoggingConfiguration.d.ts +17 -17
  445. package/wafv2/webAclLoggingConfiguration.js +5 -5
  446. package/applicationloadbalancing/getListener.d.ts +0 -120
  447. package/applicationloadbalancing/getListener.js +0 -80
  448. package/applicationloadbalancing/getListener.js.map +0 -1
  449. package/applicationloadbalancing/getLoadBalancer.d.ts +0 -133
  450. package/applicationloadbalancing/getLoadBalancer.js +0 -73
  451. package/applicationloadbalancing/getLoadBalancer.js.map +0 -1
  452. package/applicationloadbalancing/getTargetGroup.d.ts +0 -126
  453. package/applicationloadbalancing/getTargetGroup.js +0 -73
  454. package/applicationloadbalancing/getTargetGroup.js.map +0 -1
  455. package/applicationloadbalancing/listener.d.ts +0 -377
  456. package/applicationloadbalancing/listener.js +0 -276
  457. package/applicationloadbalancing/listener.js.map +0 -1
  458. package/applicationloadbalancing/listenerCertificate.d.ts +0 -96
  459. package/applicationloadbalancing/listenerCertificate.js +0 -95
  460. package/applicationloadbalancing/listenerCertificate.js.map +0 -1
  461. package/applicationloadbalancing/listenerRule.d.ts +0 -301
  462. package/applicationloadbalancing/listenerRule.js +0 -249
  463. package/applicationloadbalancing/listenerRule.js.map +0 -1
  464. package/applicationloadbalancing/loadBalancer.d.ts +0 -463
  465. package/applicationloadbalancing/loadBalancer.js +0 -201
  466. package/applicationloadbalancing/loadBalancer.js.map +0 -1
  467. package/applicationloadbalancing/targetGroup.d.ts +0 -402
  468. package/applicationloadbalancing/targetGroup.js +0 -161
  469. package/applicationloadbalancing/targetGroup.js.map +0 -1
  470. package/applicationloadbalancing/targetGroupAttachment.d.ts +0 -135
  471. package/applicationloadbalancing/targetGroupAttachment.js +0 -114
  472. package/applicationloadbalancing/targetGroupAttachment.js.map +0 -1
  473. package/awsMixins.d.ts +0 -21
  474. package/awsMixins.js +0 -40
  475. package/awsMixins.js.map +0 -1
  476. package/cloudtrail/getFunction.d.ts +0 -102
  477. package/cloudtrail/getFunction.js +0 -55
  478. package/cloudtrail/getFunction.js.map +0 -1
  479. package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +0 -132
  480. package/ec2/transitGatewayPeeringAttachmentAccepter.js +0 -94
  481. package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +0 -1
  482. package/elasticloadbalancing/appCookieStickinessPolicy.d.ts +0 -129
  483. package/elasticloadbalancing/appCookieStickinessPolicy.js +0 -102
  484. package/elasticloadbalancing/appCookieStickinessPolicy.js.map +0 -1
  485. package/elasticloadbalancing/attachment.d.ts +0 -86
  486. package/elasticloadbalancing/attachment.js +0 -85
  487. package/elasticloadbalancing/attachment.js.map +0 -1
  488. package/elasticloadbalancing/getHostedZoneId.d.ts +0 -81
  489. package/elasticloadbalancing/getHostedZoneId.js +0 -69
  490. package/elasticloadbalancing/getHostedZoneId.js.map +0 -1
  491. package/elasticloadbalancing/getLoadBalancer.d.ts +0 -105
  492. package/elasticloadbalancing/getLoadBalancer.js +0 -67
  493. package/elasticloadbalancing/getLoadBalancer.js.map +0 -1
  494. package/elasticloadbalancing/getServiceAccount.d.ts +0 -135
  495. package/elasticloadbalancing/getServiceAccount.js +0 -119
  496. package/elasticloadbalancing/getServiceAccount.js.map +0 -1
  497. package/elasticloadbalancing/index.d.ts +0 -33
  498. package/elasticloadbalancing/index.js +0 -66
  499. package/elasticloadbalancing/index.js.map +0 -1
  500. package/elasticloadbalancing/listenerPolicy.d.ts +0 -176
  501. package/elasticloadbalancing/listenerPolicy.js +0 -149
  502. package/elasticloadbalancing/listenerPolicy.js.map +0 -1
  503. package/elasticloadbalancing/loadBalancer.d.ts +0 -398
  504. package/elasticloadbalancing/loadBalancer.js +0 -177
  505. package/elasticloadbalancing/loadBalancer.js.map +0 -1
  506. package/elasticloadbalancing/loadBalancerBackendServerPolicy.d.ts +0 -123
  507. package/elasticloadbalancing/loadBalancerBackendServerPolicy.js +0 -112
  508. package/elasticloadbalancing/loadBalancerBackendServerPolicy.js.map +0 -1
  509. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.d.ts +0 -124
  510. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js +0 -91
  511. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js.map +0 -1
  512. package/elasticloadbalancing/loadBalancerPolicy.d.ts +0 -166
  513. package/elasticloadbalancing/loadBalancerPolicy.js +0 -146
  514. package/elasticloadbalancing/loadBalancerPolicy.js.map +0 -1
  515. package/elasticloadbalancing/sslNegotiationPolicy.d.ts +0 -183
  516. package/elasticloadbalancing/sslNegotiationPolicy.js +0 -123
  517. package/elasticloadbalancing/sslNegotiationPolicy.js.map +0 -1
  518. package/elasticloadbalancingv2/getListener.d.ts +0 -120
  519. package/elasticloadbalancingv2/getListener.js +0 -80
  520. package/elasticloadbalancingv2/getListener.js.map +0 -1
  521. package/elasticloadbalancingv2/getLoadBalancer.d.ts +0 -133
  522. package/elasticloadbalancingv2/getLoadBalancer.js +0 -73
  523. package/elasticloadbalancingv2/getLoadBalancer.js.map +0 -1
  524. package/elasticloadbalancingv2/getTargetGroup.d.ts +0 -126
  525. package/elasticloadbalancingv2/getTargetGroup.js +0 -73
  526. package/elasticloadbalancingv2/getTargetGroup.js.map +0 -1
  527. package/elasticloadbalancingv2/index.d.ts +0 -27
  528. package/elasticloadbalancingv2/index.js +0 -56
  529. package/elasticloadbalancingv2/index.js.map +0 -1
  530. package/elasticloadbalancingv2/listener.d.ts +0 -377
  531. package/elasticloadbalancingv2/listener.js +0 -276
  532. package/elasticloadbalancingv2/listener.js.map +0 -1
  533. package/elasticloadbalancingv2/listenerCertificate.d.ts +0 -96
  534. package/elasticloadbalancingv2/listenerCertificate.js +0 -95
  535. package/elasticloadbalancingv2/listenerCertificate.js.map +0 -1
  536. package/elasticloadbalancingv2/listenerRule.d.ts +0 -301
  537. package/elasticloadbalancingv2/listenerRule.js +0 -249
  538. package/elasticloadbalancingv2/listenerRule.js.map +0 -1
  539. package/elasticloadbalancingv2/loadBalancer.d.ts +0 -462
  540. package/elasticloadbalancingv2/loadBalancer.js +0 -201
  541. package/elasticloadbalancingv2/loadBalancer.js.map +0 -1
  542. package/elasticloadbalancingv2/targetGroup.d.ts +0 -402
  543. package/elasticloadbalancingv2/targetGroup.js +0 -161
  544. package/elasticloadbalancingv2/targetGroup.js.map +0 -1
  545. package/elasticloadbalancingv2/targetGroupAttachment.d.ts +0 -135
  546. package/elasticloadbalancingv2/targetGroupAttachment.js +0 -114
  547. package/elasticloadbalancingv2/targetGroupAttachment.js.map +0 -1
  548. package/getAmi.d.ts +0 -331
  549. package/getAmi.js +0 -93
  550. package/getAmi.js.map +0 -1
  551. package/getAmiIds.d.ts +0 -135
  552. package/getAmiIds.js +0 -63
  553. package/getAmiIds.js.map +0 -1
  554. package/getAutoscalingGroups.d.ts +0 -119
  555. package/getAutoscalingGroups.js +0 -92
  556. package/getAutoscalingGroups.js.map +0 -1
  557. package/getCanonicalUserId.d.ts +0 -32
  558. package/getCanonicalUserId.js +0 -31
  559. package/getCanonicalUserId.js.map +0 -1
  560. package/getElasticIp.d.ts +0 -221
  561. package/getElasticIp.js +0 -126
  562. package/getElasticIp.js.map +0 -1
  563. package/getPrefixList.d.ts +0 -160
  564. package/getPrefixList.js +0 -125
  565. package/getPrefixList.js.map +0 -1
  566. package/ses/confgurationSet.d.ts +0 -153
  567. package/ses/confgurationSet.js +0 -96
  568. package/ses/confgurationSet.js.map +0 -1
@@ -34,6 +34,24 @@ import * as outputs from "../types/output";
34
34
  * },
35
35
  * });
36
36
  * ```
37
+ * ### Customer-defined Partition Key
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as aws from "@pulumi/aws";
42
+ *
43
+ * const example = new aws.timestreamwrite.Table("example", {
44
+ * databaseName: aws_timestreamwrite_database.example.database_name,
45
+ * tableName: "example",
46
+ * schema: {
47
+ * compositePartitionKey: {
48
+ * enforcementInRecord: "REQUIRED",
49
+ * name: "attr1",
50
+ * type: "DIMENSION",
51
+ * },
52
+ * },
53
+ * });
54
+ * ```
37
55
  *
38
56
  * ## Import
39
57
  *
@@ -75,6 +93,10 @@ export declare class Table extends pulumi.CustomResource {
75
93
  * The retention duration for the memory store and magnetic store. See Retention Properties below for more details. If not provided, `magneticStoreRetentionPeriodInDays` default to 73000 and `memoryStoreRetentionPeriodInHours` defaults to 6.
76
94
  */
77
95
  readonly retentionProperties: pulumi.Output<outputs.timestreamwrite.TableRetentionProperties>;
96
+ /**
97
+ * The schema of the table. See Schema below for more details.
98
+ */
99
+ readonly schema: pulumi.Output<outputs.timestreamwrite.TableSchema>;
78
100
  /**
79
101
  * The name of the Timestream table.
80
102
  */
@@ -120,6 +142,10 @@ export interface TableState {
120
142
  * The retention duration for the memory store and magnetic store. See Retention Properties below for more details. If not provided, `magneticStoreRetentionPeriodInDays` default to 73000 and `memoryStoreRetentionPeriodInHours` defaults to 6.
121
143
  */
122
144
  retentionProperties?: pulumi.Input<inputs.timestreamwrite.TableRetentionProperties>;
145
+ /**
146
+ * The schema of the table. See Schema below for more details.
147
+ */
148
+ schema?: pulumi.Input<inputs.timestreamwrite.TableSchema>;
123
149
  /**
124
150
  * The name of the Timestream table.
125
151
  */
@@ -153,6 +179,10 @@ export interface TableArgs {
153
179
  * The retention duration for the memory store and magnetic store. See Retention Properties below for more details. If not provided, `magneticStoreRetentionPeriodInDays` default to 73000 and `memoryStoreRetentionPeriodInHours` defaults to 6.
154
180
  */
155
181
  retentionProperties?: pulumi.Input<inputs.timestreamwrite.TableRetentionProperties>;
182
+ /**
183
+ * The schema of the table. See Schema below for more details.
184
+ */
185
+ schema?: pulumi.Input<inputs.timestreamwrite.TableSchema>;
156
186
  /**
157
187
  * The name of the Timestream table.
158
188
  */
@@ -38,6 +38,24 @@ const utilities = require("../utilities");
38
38
  * },
39
39
  * });
40
40
  * ```
41
+ * ### Customer-defined Partition Key
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as aws from "@pulumi/aws";
46
+ *
47
+ * const example = new aws.timestreamwrite.Table("example", {
48
+ * databaseName: aws_timestreamwrite_database.example.database_name,
49
+ * tableName: "example",
50
+ * schema: {
51
+ * compositePartitionKey: {
52
+ * enforcementInRecord: "REQUIRED",
53
+ * name: "attr1",
54
+ * type: "DIMENSION",
55
+ * },
56
+ * },
57
+ * });
58
+ * ```
41
59
  *
42
60
  * ## Import
43
61
  *
@@ -79,6 +97,7 @@ class Table extends pulumi.CustomResource {
79
97
  resourceInputs["databaseName"] = state ? state.databaseName : undefined;
80
98
  resourceInputs["magneticStoreWriteProperties"] = state ? state.magneticStoreWriteProperties : undefined;
81
99
  resourceInputs["retentionProperties"] = state ? state.retentionProperties : undefined;
100
+ resourceInputs["schema"] = state ? state.schema : undefined;
82
101
  resourceInputs["tableName"] = state ? state.tableName : undefined;
83
102
  resourceInputs["tags"] = state ? state.tags : undefined;
84
103
  resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
@@ -94,6 +113,7 @@ class Table extends pulumi.CustomResource {
94
113
  resourceInputs["databaseName"] = args ? args.databaseName : undefined;
95
114
  resourceInputs["magneticStoreWriteProperties"] = args ? args.magneticStoreWriteProperties : undefined;
96
115
  resourceInputs["retentionProperties"] = args ? args.retentionProperties : undefined;
116
+ resourceInputs["schema"] = args ? args.schema : undefined;
97
117
  resourceInputs["tableName"] = args ? args.tableName : undefined;
98
118
  resourceInputs["tags"] = args ? args.tags : undefined;
99
119
  resourceInputs["arn"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sourceRoot":"","sources":["../../timestreamwrite/table.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAA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MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,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,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AArGL,sBAsGC;AAxFG,gBAAgB;AACO,kBAAY,GAAG,iCAAiC,CAAC"}
@@ -0,0 +1,170 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a AWS Transfer AS2 Agreement resource.
4
+ *
5
+ * ## Example Usage
6
+ * ### Basic
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const example = new aws.transfer.Agreement("example", {
13
+ * accessRole: aws_iam_role.test.arn,
14
+ * baseDirectory: "/DOC-EXAMPLE-BUCKET/home/mydirectory",
15
+ * description: "example",
16
+ * localProfileId: aws_transfer_profile.local.profile_id,
17
+ * partnerProfileId: aws_transfer_profile.partner.profile_id,
18
+ * serverId: aws_transfer_server.test.id,
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * Transfer AS2 Agreement can be imported using the `server_id/agreement_id`, e.g.,
25
+ *
26
+ * ```sh
27
+ * $ pulumi import aws:transfer/agreement:Agreement example s-4221a88afd5f4362a/a-4221a88afd5f4362a
28
+ * ```
29
+ */
30
+ export declare class Agreement extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing Agreement resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgreementState, opts?: pulumi.CustomResourceOptions): Agreement;
41
+ /**
42
+ * Returns true if the given object is an instance of Agreement. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is Agreement;
46
+ /**
47
+ * The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.
48
+ */
49
+ readonly accessRole: pulumi.Output<string>;
50
+ /**
51
+ * The unique identifier for the AS2 agreement
52
+ */
53
+ readonly agreementId: pulumi.Output<string>;
54
+ /**
55
+ * The landing directory for the files transferred by using the AS2 protocol.
56
+ */
57
+ readonly baseDirectory: pulumi.Output<string>;
58
+ /**
59
+ * The Optional description of the transdfer.
60
+ */
61
+ readonly description: pulumi.Output<string | undefined>;
62
+ /**
63
+ * The unique identifier for the AS2 local profile.
64
+ */
65
+ readonly localProfileId: pulumi.Output<string>;
66
+ /**
67
+ * The unique identifier for the AS2 partner profile.
68
+ */
69
+ readonly partnerProfileId: pulumi.Output<string>;
70
+ /**
71
+ * The unique server identifier for the server instance. This is the specific server the agreement uses.
72
+ */
73
+ readonly serverId: pulumi.Output<string>;
74
+ readonly status: pulumi.Output<string>;
75
+ /**
76
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
77
+ */
78
+ readonly tags: pulumi.Output<{
79
+ [key: string]: string;
80
+ } | undefined>;
81
+ readonly tagsAll: pulumi.Output<{
82
+ [key: string]: string;
83
+ }>;
84
+ /**
85
+ * Create a Agreement resource with the given unique name, arguments, and options.
86
+ *
87
+ * @param name The _unique_ name of the resource.
88
+ * @param args The arguments to use to populate this resource's properties.
89
+ * @param opts A bag of options that control this resource's behavior.
90
+ */
91
+ constructor(name: string, args: AgreementArgs, opts?: pulumi.CustomResourceOptions);
92
+ }
93
+ /**
94
+ * Input properties used for looking up and filtering Agreement resources.
95
+ */
96
+ export interface AgreementState {
97
+ /**
98
+ * The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.
99
+ */
100
+ accessRole?: pulumi.Input<string>;
101
+ /**
102
+ * The unique identifier for the AS2 agreement
103
+ */
104
+ agreementId?: pulumi.Input<string>;
105
+ /**
106
+ * The landing directory for the files transferred by using the AS2 protocol.
107
+ */
108
+ baseDirectory?: pulumi.Input<string>;
109
+ /**
110
+ * The Optional description of the transdfer.
111
+ */
112
+ description?: pulumi.Input<string>;
113
+ /**
114
+ * The unique identifier for the AS2 local profile.
115
+ */
116
+ localProfileId?: pulumi.Input<string>;
117
+ /**
118
+ * The unique identifier for the AS2 partner profile.
119
+ */
120
+ partnerProfileId?: pulumi.Input<string>;
121
+ /**
122
+ * The unique server identifier for the server instance. This is the specific server the agreement uses.
123
+ */
124
+ serverId?: pulumi.Input<string>;
125
+ status?: pulumi.Input<string>;
126
+ /**
127
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
128
+ */
129
+ tags?: pulumi.Input<{
130
+ [key: string]: pulumi.Input<string>;
131
+ }>;
132
+ tagsAll?: pulumi.Input<{
133
+ [key: string]: pulumi.Input<string>;
134
+ }>;
135
+ }
136
+ /**
137
+ * The set of arguments for constructing a Agreement resource.
138
+ */
139
+ export interface AgreementArgs {
140
+ /**
141
+ * The IAM Role which provides read and write access to the parent directory of the file location mentioned in the StartFileTransfer request.
142
+ */
143
+ accessRole: pulumi.Input<string>;
144
+ /**
145
+ * The landing directory for the files transferred by using the AS2 protocol.
146
+ */
147
+ baseDirectory: pulumi.Input<string>;
148
+ /**
149
+ * The Optional description of the transdfer.
150
+ */
151
+ description?: pulumi.Input<string>;
152
+ /**
153
+ * The unique identifier for the AS2 local profile.
154
+ */
155
+ localProfileId: pulumi.Input<string>;
156
+ /**
157
+ * The unique identifier for the AS2 partner profile.
158
+ */
159
+ partnerProfileId: pulumi.Input<string>;
160
+ /**
161
+ * The unique server identifier for the server instance. This is the specific server the agreement uses.
162
+ */
163
+ serverId: pulumi.Input<string>;
164
+ /**
165
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
166
+ */
167
+ tags?: pulumi.Input<{
168
+ [key: string]: pulumi.Input<string>;
169
+ }>;
170
+ }
@@ -0,0 +1,110 @@
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.Agreement = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a AWS Transfer AS2 Agreement resource.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.transfer.Agreement("example", {
19
+ * accessRole: aws_iam_role.test.arn,
20
+ * baseDirectory: "/DOC-EXAMPLE-BUCKET/home/mydirectory",
21
+ * description: "example",
22
+ * localProfileId: aws_transfer_profile.local.profile_id,
23
+ * partnerProfileId: aws_transfer_profile.partner.profile_id,
24
+ * serverId: aws_transfer_server.test.id,
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Transfer AS2 Agreement can be imported using the `server_id/agreement_id`, e.g.,
31
+ *
32
+ * ```sh
33
+ * $ pulumi import aws:transfer/agreement:Agreement example s-4221a88afd5f4362a/a-4221a88afd5f4362a
34
+ * ```
35
+ */
36
+ class Agreement extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing Agreement resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new Agreement(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of Agreement. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === Agreement.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["accessRole"] = state ? state.accessRole : undefined;
65
+ resourceInputs["agreementId"] = state ? state.agreementId : undefined;
66
+ resourceInputs["baseDirectory"] = state ? state.baseDirectory : undefined;
67
+ resourceInputs["description"] = state ? state.description : undefined;
68
+ resourceInputs["localProfileId"] = state ? state.localProfileId : undefined;
69
+ resourceInputs["partnerProfileId"] = state ? state.partnerProfileId : undefined;
70
+ resourceInputs["serverId"] = state ? state.serverId : undefined;
71
+ resourceInputs["status"] = state ? state.status : undefined;
72
+ resourceInputs["tags"] = state ? state.tags : undefined;
73
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if ((!args || args.accessRole === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'accessRole'");
79
+ }
80
+ if ((!args || args.baseDirectory === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'baseDirectory'");
82
+ }
83
+ if ((!args || args.localProfileId === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'localProfileId'");
85
+ }
86
+ if ((!args || args.partnerProfileId === undefined) && !opts.urn) {
87
+ throw new Error("Missing required property 'partnerProfileId'");
88
+ }
89
+ if ((!args || args.serverId === undefined) && !opts.urn) {
90
+ throw new Error("Missing required property 'serverId'");
91
+ }
92
+ resourceInputs["accessRole"] = args ? args.accessRole : undefined;
93
+ resourceInputs["baseDirectory"] = args ? args.baseDirectory : undefined;
94
+ resourceInputs["description"] = args ? args.description : undefined;
95
+ resourceInputs["localProfileId"] = args ? args.localProfileId : undefined;
96
+ resourceInputs["partnerProfileId"] = args ? args.partnerProfileId : undefined;
97
+ resourceInputs["serverId"] = args ? args.serverId : undefined;
98
+ resourceInputs["tags"] = args ? args.tags : undefined;
99
+ resourceInputs["agreementId"] = undefined /*out*/;
100
+ resourceInputs["status"] = undefined /*out*/;
101
+ resourceInputs["tagsAll"] = undefined /*out*/;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ super(Agreement.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+ exports.Agreement = Agreement;
108
+ /** @internal */
109
+ Agreement.__pulumiType = 'aws:transfer/agreement:Agreement';
110
+ //# sourceMappingURL=agreement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agreement.js","sourceRoot":"","sources":["../../transfer/agreement.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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,EAAE,EAAE,EAAE,IAAG,C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WS Transfer AS2 Certificate resource.
4
+ *
5
+ * ## Example Usage
6
+ * ### Basic
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ * import * as fs from "fs";
12
+ *
13
+ * const example = new aws.transfer.Certificate("example", {
14
+ * certificate: fs.readFileSync(`${path.module}/example.com/example.crt`),
15
+ * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`),
16
+ * privateKey: fs.readFileSync(`${path.module}/example.com/example.key`),
17
+ * description: "example",
18
+ * usage: "SIGNING",
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * Transfer AS2 Certificate can be imported using the `certificate_id`, e.g.,
25
+ *
26
+ * ```sh
27
+ * $ pulumi import aws:transfer/certificate:Certificate example c-4221a88afd5f4362a
28
+ * ```
29
+ */
30
+ export declare class Certificate extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing Certificate resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateState, opts?: pulumi.CustomResourceOptions): Certificate;
41
+ /**
42
+ * Returns true if the given object is an instance of Certificate. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is Certificate;
46
+ /**
47
+ * An date when the certificate becomes active
48
+ */
49
+ readonly activeDate: pulumi.Output<string>;
50
+ /**
51
+ * The valid certificate file required for the transfer.
52
+ */
53
+ readonly certificate: pulumi.Output<string>;
54
+ /**
55
+ * The optional list of certificate that make up the chain for the certificate that is being imported.
56
+ */
57
+ readonly certificateChain: pulumi.Output<string | undefined>;
58
+ /**
59
+ * The unique identifier for the AS2 certificate
60
+ */
61
+ readonly certificateId: pulumi.Output<string>;
62
+ /**
63
+ * A short description that helps identify the certificate.
64
+ */
65
+ readonly description: pulumi.Output<string | undefined>;
66
+ /**
67
+ * An date when the certificate becomes inactive
68
+ */
69
+ readonly inactiveDate: pulumi.Output<string>;
70
+ /**
71
+ * The private key associated with the certificate being imported.
72
+ */
73
+ readonly privateKey: pulumi.Output<string | undefined>;
74
+ /**
75
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
76
+ */
77
+ readonly tags: pulumi.Output<{
78
+ [key: string]: string;
79
+ } | undefined>;
80
+ readonly tagsAll: pulumi.Output<{
81
+ [key: string]: string;
82
+ }>;
83
+ /**
84
+ * Specifies if a certificate is being used for signing or encryption. The valid values are SIGNING and ENCRYPTION.
85
+ */
86
+ readonly usage: pulumi.Output<string>;
87
+ /**
88
+ * Create a Certificate resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions);
95
+ }
96
+ /**
97
+ * Input properties used for looking up and filtering Certificate resources.
98
+ */
99
+ export interface CertificateState {
100
+ /**
101
+ * An date when the certificate becomes active
102
+ */
103
+ activeDate?: pulumi.Input<string>;
104
+ /**
105
+ * The valid certificate file required for the transfer.
106
+ */
107
+ certificate?: pulumi.Input<string>;
108
+ /**
109
+ * The optional list of certificate that make up the chain for the certificate that is being imported.
110
+ */
111
+ certificateChain?: pulumi.Input<string>;
112
+ /**
113
+ * The unique identifier for the AS2 certificate
114
+ */
115
+ certificateId?: pulumi.Input<string>;
116
+ /**
117
+ * A short description that helps identify the certificate.
118
+ */
119
+ description?: pulumi.Input<string>;
120
+ /**
121
+ * An date when the certificate becomes inactive
122
+ */
123
+ inactiveDate?: pulumi.Input<string>;
124
+ /**
125
+ * The private key associated with the certificate being imported.
126
+ */
127
+ privateKey?: pulumi.Input<string>;
128
+ /**
129
+ * A map of tags to assign to the resource. 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
+ tagsAll?: pulumi.Input<{
135
+ [key: string]: pulumi.Input<string>;
136
+ }>;
137
+ /**
138
+ * Specifies if a certificate is being used for signing or encryption. The valid values are SIGNING and ENCRYPTION.
139
+ */
140
+ usage?: pulumi.Input<string>;
141
+ }
142
+ /**
143
+ * The set of arguments for constructing a Certificate resource.
144
+ */
145
+ export interface CertificateArgs {
146
+ /**
147
+ * The valid certificate file required for the transfer.
148
+ */
149
+ certificate: pulumi.Input<string>;
150
+ /**
151
+ * The optional list of certificate that make up the chain for the certificate that is being imported.
152
+ */
153
+ certificateChain?: pulumi.Input<string>;
154
+ /**
155
+ * A short description that helps identify the certificate.
156
+ */
157
+ description?: pulumi.Input<string>;
158
+ /**
159
+ * The private key associated with the certificate being imported.
160
+ */
161
+ privateKey?: pulumi.Input<string>;
162
+ /**
163
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
164
+ */
165
+ tags?: pulumi.Input<{
166
+ [key: string]: pulumi.Input<string>;
167
+ }>;
168
+ /**
169
+ * Specifies if a certificate is being used for signing or encryption. The valid values are SIGNING and ENCRYPTION.
170
+ */
171
+ usage: pulumi.Input<string>;
172
+ }
@@ -0,0 +1,103 @@
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.Certificate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a AWS Transfer AS2 Certificate resource.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ * import * as fs from "fs";
18
+ *
19
+ * const example = new aws.transfer.Certificate("example", {
20
+ * certificate: fs.readFileSync(`${path.module}/example.com/example.crt`),
21
+ * certificateChain: fs.readFileSync(`${path.module}/example.com/ca.crt`),
22
+ * privateKey: fs.readFileSync(`${path.module}/example.com/example.key`),
23
+ * description: "example",
24
+ * usage: "SIGNING",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Transfer AS2 Certificate can be imported using the `certificate_id`, e.g.,
31
+ *
32
+ * ```sh
33
+ * $ pulumi import aws:transfer/certificate:Certificate example c-4221a88afd5f4362a
34
+ * ```
35
+ */
36
+ class Certificate extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing Certificate resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new Certificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of Certificate. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === Certificate.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["activeDate"] = state ? state.activeDate : undefined;
65
+ resourceInputs["certificate"] = state ? state.certificate : undefined;
66
+ resourceInputs["certificateChain"] = state ? state.certificateChain : undefined;
67
+ resourceInputs["certificateId"] = state ? state.certificateId : undefined;
68
+ resourceInputs["description"] = state ? state.description : undefined;
69
+ resourceInputs["inactiveDate"] = state ? state.inactiveDate : undefined;
70
+ resourceInputs["privateKey"] = state ? state.privateKey : undefined;
71
+ resourceInputs["tags"] = state ? state.tags : undefined;
72
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
73
+ resourceInputs["usage"] = state ? state.usage : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if ((!args || args.certificate === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'certificate'");
79
+ }
80
+ if ((!args || args.usage === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'usage'");
82
+ }
83
+ resourceInputs["certificate"] = (args === null || args === void 0 ? void 0 : args.certificate) ? pulumi.secret(args.certificate) : undefined;
84
+ resourceInputs["certificateChain"] = (args === null || args === void 0 ? void 0 : args.certificateChain) ? pulumi.secret(args.certificateChain) : undefined;
85
+ resourceInputs["description"] = args ? args.description : undefined;
86
+ resourceInputs["privateKey"] = (args === null || args === void 0 ? void 0 : args.privateKey) ? pulumi.secret(args.privateKey) : undefined;
87
+ resourceInputs["tags"] = args ? args.tags : undefined;
88
+ resourceInputs["usage"] = args ? args.usage : undefined;
89
+ resourceInputs["activeDate"] = undefined /*out*/;
90
+ resourceInputs["certificateId"] = undefined /*out*/;
91
+ resourceInputs["inactiveDate"] = undefined /*out*/;
92
+ resourceInputs["tagsAll"] = undefined /*out*/;
93
+ }
94
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
95
+ const secretOpts = { additionalSecretOutputs: ["certificate", "certificateChain", "privateKey"] };
96
+ opts = pulumi.mergeOptions(opts, secretOpts);
97
+ super(Certificate.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.Certificate = Certificate;
101
+ /** @internal */
102
+ Certificate.__pulumiType = 'aws:transfer/certificate:Certificate';
103
+ //# sourceMappingURL=certificate.js.map