@pulumi/aws 5.0.0 → 5.1.0

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 (582) hide show
  1. package/README.md +2 -2
  2. package/amp/workspace.d.ts +34 -0
  3. package/amp/workspace.js +8 -0
  4. package/amp/workspace.js.map +1 -1
  5. package/apigateway/authorizer.d.ts +8 -0
  6. package/apigateway/authorizer.js +2 -0
  7. package/apigateway/authorizer.js.map +1 -1
  8. package/apigateway/vpcLink.d.ts +1 -1
  9. package/apigateway/vpcLink.js +1 -1
  10. package/appconfig/configurationProfile.d.ts +12 -0
  11. package/appconfig/configurationProfile.js +2 -0
  12. package/appconfig/configurationProfile.js.map +1 -1
  13. package/appconfig/hostedConfigurationVersion.d.ts +43 -1
  14. package/appconfig/hostedConfigurationVersion.js +43 -1
  15. package/appconfig/hostedConfigurationVersion.js.map +1 -1
  16. package/apprunner/index.d.ts +1 -0
  17. package/apprunner/index.js +5 -0
  18. package/apprunner/index.js.map +1 -1
  19. package/apprunner/service.d.ts +21 -3
  20. package/apprunner/service.js +8 -0
  21. package/apprunner/service.js.map +1 -1
  22. package/apprunner/vpcConnector.d.ts +138 -0
  23. package/apprunner/vpcConnector.js +100 -0
  24. package/apprunner/vpcConnector.js.map +1 -0
  25. package/appstream/user.d.ts +1 -1
  26. package/appstream/user.js +1 -1
  27. package/athena/database.d.ts +48 -12
  28. package/athena/database.js +9 -6
  29. package/athena/database.js.map +1 -1
  30. package/autoscaling/group.d.ts +0 -12
  31. package/autoscaling/group.js +0 -12
  32. package/autoscaling/group.js.map +1 -1
  33. package/autoscaling/policy.d.ts +92 -8
  34. package/autoscaling/policy.js +92 -8
  35. package/autoscaling/policy.js.map +1 -1
  36. package/backup/framework.d.ts +200 -0
  37. package/backup/framework.js +133 -0
  38. package/backup/framework.js.map +1 -0
  39. package/backup/getFramework.d.ts +91 -0
  40. package/backup/getFramework.js +37 -0
  41. package/backup/getFramework.js.map +1 -0
  42. package/backup/getReportPlan.d.ts +88 -0
  43. package/backup/getReportPlan.js +37 -0
  44. package/backup/getReportPlan.js.map +1 -0
  45. package/backup/index.d.ts +4 -0
  46. package/backup/index.js +12 -0
  47. package/backup/index.js.map +1 -1
  48. package/backup/reportPlan.d.ts +174 -0
  49. package/backup/reportPlan.js +106 -0
  50. package/backup/reportPlan.js.map +1 -0
  51. package/batch/schedulingPolicy.d.ts +0 -6
  52. package/batch/schedulingPolicy.js +1 -1
  53. package/batch/schedulingPolicy.js.map +1 -1
  54. package/cloud9/environmentEC2.d.ts +42 -0
  55. package/cloud9/environmentEC2.js +4 -0
  56. package/cloud9/environmentEC2.js.map +1 -1
  57. package/cloudformation/stackSet.d.ts +15 -3
  58. package/cloudformation/stackSet.js +2 -0
  59. package/cloudformation/stackSet.js.map +1 -1
  60. package/cloudformation/stackSetInstance.d.ts +12 -0
  61. package/cloudformation/stackSetInstance.js +2 -0
  62. package/cloudformation/stackSetInstance.js.map +1 -1
  63. package/cloudfront/distribution.d.ts +3 -3
  64. package/cloudfront/distribution.js +3 -3
  65. package/cloudtrail/eventDataStore.d.ts +219 -0
  66. package/cloudtrail/eventDataStore.js +131 -0
  67. package/cloudtrail/eventDataStore.js.map +1 -0
  68. package/cloudtrail/index.d.ts +1 -0
  69. package/cloudtrail/index.js +5 -0
  70. package/cloudtrail/index.js.map +1 -1
  71. package/codeartifact/domainPermissions.d.ts +1 -1
  72. package/codeartifact/domainPermissions.js +1 -1
  73. package/codeartifact/repositoryPermissionsPolicy.d.ts +1 -1
  74. package/codeartifact/repositoryPermissionsPolicy.js +1 -1
  75. package/cognito/getUserPools.d.ts +2 -2
  76. package/cognito/identityPool.d.ts +2 -2
  77. package/cognito/identityPool.js +2 -2
  78. package/cognito/identityPoolProviderPrincipalTag.d.ts +11 -11
  79. package/cognito/identityPoolProviderPrincipalTag.js +2 -2
  80. package/cognito/identityPoolRoleAttachment.d.ts +5 -5
  81. package/cognito/identityPoolRoleAttachment.js +2 -2
  82. package/cognito/identityProvider.d.ts +1 -1
  83. package/cognito/identityProvider.js +1 -1
  84. package/cognito/resourceServer.d.ts +1 -1
  85. package/cognito/resourceServer.js +1 -1
  86. package/cognito/userPool.d.ts +1 -1
  87. package/cognito/userPool.js +1 -1
  88. package/cognito/userPoolClient.d.ts +1 -1
  89. package/cognito/userPoolClient.js +1 -1
  90. package/cognito/userPoolDomain.d.ts +1 -1
  91. package/cognito/userPoolDomain.js +1 -1
  92. package/config/vars.d.ts +9 -0
  93. package/config/vars.js +12 -0
  94. package/config/vars.js.map +1 -1
  95. package/connect/contactFlowModule.d.ts +0 -6
  96. package/connect/contactFlowModule.js +1 -1
  97. package/connect/contactFlowModule.js.map +1 -1
  98. package/connect/getQueue.d.ts +124 -0
  99. package/connect/getQueue.js +54 -0
  100. package/connect/getQueue.js.map +1 -0
  101. package/connect/hoursOfOperation.d.ts +0 -6
  102. package/connect/hoursOfOperation.js +1 -1
  103. package/connect/hoursOfOperation.js.map +1 -1
  104. package/connect/index.d.ts +3 -0
  105. package/connect/index.js +11 -0
  106. package/connect/index.js.map +1 -1
  107. package/connect/queue.d.ts +2 -6
  108. package/connect/queue.js +3 -1
  109. package/connect/queue.js.map +1 -1
  110. package/connect/quickConnect.d.ts +0 -6
  111. package/connect/quickConnect.js +1 -1
  112. package/connect/quickConnect.js.map +1 -1
  113. package/connect/routingProfile.d.ts +204 -0
  114. package/connect/routingProfile.js +119 -0
  115. package/connect/routingProfile.js.map +1 -0
  116. package/connect/securityProfile.d.ts +0 -6
  117. package/connect/securityProfile.js +1 -1
  118. package/connect/securityProfile.js.map +1 -1
  119. package/connect/userHierarchyStructure.d.ts +117 -0
  120. package/connect/userHierarchyStructure.js +113 -0
  121. package/connect/userHierarchyStructure.js.map +1 -0
  122. package/dataexchange/dataSet.d.ts +0 -6
  123. package/dataexchange/dataSet.js +1 -1
  124. package/dataexchange/dataSet.js.map +1 -1
  125. package/dataexchange/revision.d.ts +0 -6
  126. package/dataexchange/revision.js +1 -1
  127. package/dataexchange/revision.js.map +1 -1
  128. package/datasync/locationFsxLustre.d.ts +0 -6
  129. package/datasync/locationFsxLustre.js +1 -1
  130. package/datasync/locationFsxLustre.js.map +1 -1
  131. package/datasync/locationHdfs.d.ts +0 -6
  132. package/datasync/locationHdfs.js +1 -1
  133. package/datasync/locationHdfs.js.map +1 -1
  134. package/detective/graph.d.ts +0 -3
  135. package/detective/graph.js +1 -1
  136. package/detective/graph.js.map +1 -1
  137. package/detective/invitationAccepter.d.ts +3 -3
  138. package/detective/invitationAccepter.js +3 -3
  139. package/detective/member.d.ts +1 -1
  140. package/detective/member.js +1 -1
  141. package/devicefarm/devicePool.d.ts +0 -6
  142. package/devicefarm/devicePool.js +1 -1
  143. package/devicefarm/devicePool.js.map +1 -1
  144. package/devicefarm/instanceProfile.d.ts +0 -6
  145. package/devicefarm/instanceProfile.js +1 -1
  146. package/devicefarm/instanceProfile.js.map +1 -1
  147. package/devicefarm/networkProfile.d.ts +0 -6
  148. package/devicefarm/networkProfile.js +1 -1
  149. package/devicefarm/networkProfile.js.map +1 -1
  150. package/devicefarm/testGridProject.d.ts +0 -6
  151. package/devicefarm/testGridProject.js +1 -1
  152. package/devicefarm/testGridProject.js.map +1 -1
  153. package/dms/endpoint.d.ts +64 -64
  154. package/dms/replicationTask.d.ts +21 -1
  155. package/dms/replicationTask.js +4 -0
  156. package/dms/replicationTask.js.map +1 -1
  157. package/ec2/defaultSubnet.d.ts +0 -3
  158. package/ec2/defaultSubnet.js +1 -1
  159. package/ec2/defaultSubnet.js.map +1 -1
  160. package/ec2/defaultVpc.d.ts +0 -3
  161. package/ec2/defaultVpc.js +1 -1
  162. package/ec2/defaultVpc.js.map +1 -1
  163. package/ec2/fleet.d.ts +12 -0
  164. package/ec2/fleet.js +2 -0
  165. package/ec2/fleet.js.map +1 -1
  166. package/ec2/getKeyPair.d.ts +6 -0
  167. package/ec2/getKeyPair.js.map +1 -1
  168. package/ec2/getLaunchTemplate.d.ts +6 -93
  169. package/ec2/getLaunchTemplate.js.map +1 -1
  170. package/ec2/getRouteTables.d.ts +1 -1
  171. package/ec2/getSerialConsoleAccess.d.ts +27 -0
  172. package/ec2/getSerialConsoleAccess.js +28 -0
  173. package/ec2/getSerialConsoleAccess.js.map +1 -0
  174. package/ec2/getVpcIamPool.d.ts +12 -1
  175. package/ec2/getVpcIamPool.js +12 -1
  176. package/ec2/getVpcIamPool.js.map +1 -1
  177. package/ec2/index.d.ts +6 -0
  178. package/ec2/index.js +26 -0
  179. package/ec2/index.js.map +1 -1
  180. package/ec2/instance.d.ts +6 -6
  181. package/ec2/internetGateway.d.ts +7 -7
  182. package/ec2/internetGatewayAttachment.d.ts +85 -0
  183. package/ec2/internetGatewayAttachment.js +82 -0
  184. package/ec2/internetGatewayAttachment.js.map +1 -0
  185. package/ec2/launchConfiguration.d.ts +3 -2
  186. package/ec2/launchConfiguration.js +3 -2
  187. package/ec2/launchConfiguration.js.map +1 -1
  188. package/ec2/launchTemplate.d.ts +18 -15
  189. package/ec2/launchTemplate.js +2 -0
  190. package/ec2/launchTemplate.js.map +1 -1
  191. package/ec2/networkInsightsPath.d.ts +176 -0
  192. package/ec2/networkInsightsPath.js +98 -0
  193. package/ec2/networkInsightsPath.js.map +1 -0
  194. package/ec2/networkInterface.d.ts +3 -3
  195. package/ec2/securityGroupAssociation.d.ts +87 -0
  196. package/ec2/securityGroupAssociation.js +74 -0
  197. package/ec2/securityGroupAssociation.js.map +1 -0
  198. package/ec2/serialConsoleAccess.d.ts +68 -0
  199. package/ec2/serialConsoleAccess.js +69 -0
  200. package/ec2/serialConsoleAccess.js.map +1 -0
  201. package/ec2/spotInstanceRequest.d.ts +6 -6
  202. package/ec2/subnet.d.ts +3 -3
  203. package/ec2/volumeAttachment.d.ts +1 -1
  204. package/ec2/volumeAttachment.js +1 -1
  205. package/ec2/vpc.d.ts +0 -2
  206. package/ec2/vpc.js.map +1 -1
  207. package/ec2/vpcEndpoint.d.ts +9 -15
  208. package/ec2/vpcEndpoint.js +0 -9
  209. package/ec2/vpcEndpoint.js.map +1 -1
  210. package/ec2/vpcEndpointPolicy.d.ts +93 -0
  211. package/ec2/vpcEndpointPolicy.js +96 -0
  212. package/ec2/vpcEndpointPolicy.js.map +1 -0
  213. package/ec2transitgateway/connect.d.ts +142 -0
  214. package/ec2transitgateway/connect.js +95 -0
  215. package/ec2transitgateway/connect.js.map +1 -0
  216. package/ec2transitgateway/connectPeer.d.ts +150 -0
  217. package/ec2transitgateway/connectPeer.js +100 -0
  218. package/ec2transitgateway/connectPeer.js.map +1 -0
  219. package/ec2transitgateway/getConnect.d.ts +99 -0
  220. package/ec2transitgateway/getConnect.js +53 -0
  221. package/ec2transitgateway/getConnect.js.map +1 -0
  222. package/ec2transitgateway/getConnectPeer.d.ts +111 -0
  223. package/ec2transitgateway/getConnectPeer.js +53 -0
  224. package/ec2transitgateway/getConnectPeer.js.map +1 -0
  225. package/ec2transitgateway/getMulticastDomain.d.ts +128 -0
  226. package/ec2transitgateway/getMulticastDomain.js +53 -0
  227. package/ec2transitgateway/getMulticastDomain.js.map +1 -0
  228. package/ec2transitgateway/getTransitGateway.d.ts +14 -6
  229. package/ec2transitgateway/getTransitGateway.js.map +1 -1
  230. package/ec2transitgateway/getVpcAttachments.d.ts +38 -0
  231. package/ec2transitgateway/getVpcAttachments.js +28 -0
  232. package/ec2transitgateway/getVpcAttachments.js.map +1 -0
  233. package/ec2transitgateway/index.d.ts +10 -0
  234. package/ec2transitgateway/index.js +34 -0
  235. package/ec2transitgateway/index.js.map +1 -1
  236. package/ec2transitgateway/multicastDomain.d.ts +237 -0
  237. package/ec2transitgateway/multicastDomain.js +185 -0
  238. package/ec2transitgateway/multicastDomain.js.map +1 -0
  239. package/ec2transitgateway/multicastDomainAssociation.d.ts +95 -0
  240. package/ec2transitgateway/multicastDomainAssociation.js +85 -0
  241. package/ec2transitgateway/multicastDomainAssociation.js.map +1 -0
  242. package/ec2transitgateway/multicastGroupMember.d.ts +89 -0
  243. package/ec2transitgateway/multicastGroupMember.js +79 -0
  244. package/ec2transitgateway/multicastGroupMember.js.map +1 -0
  245. package/ec2transitgateway/multicastGroupSource.d.ts +89 -0
  246. package/ec2transitgateway/multicastGroupSource.js +79 -0
  247. package/ec2transitgateway/multicastGroupSource.js.map +1 -0
  248. package/ec2transitgateway/transitGateway.d.ts +15 -0
  249. package/ec2transitgateway/transitGateway.js +4 -0
  250. package/ec2transitgateway/transitGateway.js.map +1 -1
  251. package/ecrpublic/getAuthorizationToken.d.ts +39 -0
  252. package/ecrpublic/getAuthorizationToken.js +28 -0
  253. package/ecrpublic/getAuthorizationToken.js.map +1 -0
  254. package/ecrpublic/index.d.ts +1 -0
  255. package/ecrpublic/index.js +1 -0
  256. package/ecrpublic/index.js.map +1 -1
  257. package/ecrpublic/repositoryPolicy.d.ts +1 -1
  258. package/ecrpublic/repositoryPolicy.js +1 -1
  259. package/ecs/taskSet.d.ts +0 -6
  260. package/ecs/taskSet.js +1 -1
  261. package/ecs/taskSet.js.map +1 -1
  262. package/eks/getNodeGroup.d.ts +4 -0
  263. package/eks/getNodeGroup.js.map +1 -1
  264. package/elasticache/replicationGroup.d.ts +6 -6
  265. package/elastictranscoder/preset.d.ts +1 -1
  266. package/emr/studio.d.ts +0 -3
  267. package/emr/studio.js +1 -1
  268. package/emr/studio.js.map +1 -1
  269. package/fms/policy.d.ts +51 -0
  270. package/fms/policy.js +9 -0
  271. package/fms/policy.js.map +1 -1
  272. package/fsx/dataRepositoryAssociation.d.ts +0 -6
  273. package/fsx/dataRepositoryAssociation.js +1 -1
  274. package/fsx/dataRepositoryAssociation.js.map +1 -1
  275. package/fsx/openZfsFileSystem.d.ts +0 -6
  276. package/fsx/openZfsFileSystem.js +1 -1
  277. package/fsx/openZfsFileSystem.js.map +1 -1
  278. package/fsx/openZfsSnapshot.d.ts +0 -6
  279. package/fsx/openZfsSnapshot.js +1 -1
  280. package/fsx/openZfsSnapshot.js.map +1 -1
  281. package/fsx/openZfsVolume.d.ts +0 -6
  282. package/fsx/openZfsVolume.js +1 -1
  283. package/fsx/openZfsVolume.js.map +1 -1
  284. package/gamelift/build.d.ts +5 -3
  285. package/gamelift/build.js +5 -3
  286. package/gamelift/build.js.map +1 -1
  287. package/gamelift/fleet.d.ts +57 -9
  288. package/gamelift/fleet.js +13 -4
  289. package/gamelift/fleet.js.map +1 -1
  290. package/gamelift/gameServerGroup.d.ts +314 -0
  291. package/gamelift/gameServerGroup.js +204 -0
  292. package/gamelift/gameServerGroup.js.map +1 -0
  293. package/gamelift/index.d.ts +2 -0
  294. package/gamelift/index.js +10 -0
  295. package/gamelift/index.js.map +1 -1
  296. package/gamelift/script.d.ts +147 -0
  297. package/gamelift/script.js +85 -0
  298. package/gamelift/script.js.map +1 -0
  299. package/getService.d.ts +109 -0
  300. package/getService.js +64 -0
  301. package/getService.js.map +1 -0
  302. package/glue/catalogDatabase.d.ts +28 -0
  303. package/glue/catalogDatabase.js +18 -0
  304. package/glue/catalogDatabase.js.map +1 -1
  305. package/glue/job.d.ts +21 -7
  306. package/glue/job.js +14 -0
  307. package/glue/job.js.map +1 -1
  308. package/glue/trigger.d.ts +12 -0
  309. package/glue/trigger.js +2 -0
  310. package/glue/trigger.js.map +1 -1
  311. package/grafana/getWorkspace.d.ts +115 -0
  312. package/grafana/getWorkspace.js +37 -0
  313. package/grafana/getWorkspace.js.map +1 -0
  314. package/grafana/index.d.ts +4 -0
  315. package/grafana/index.js +48 -0
  316. package/grafana/index.js.map +1 -0
  317. package/grafana/licenseAssociation.d.ts +117 -0
  318. package/grafana/licenseAssociation.js +102 -0
  319. package/grafana/licenseAssociation.js.map +1 -0
  320. package/grafana/workspace.d.ts +231 -0
  321. package/grafana/workspace.js +123 -0
  322. package/grafana/workspace.js.map +1 -0
  323. package/grafana/workspaceSamlConfiguration.d.ts +242 -0
  324. package/grafana/workspaceSamlConfiguration.js +123 -0
  325. package/grafana/workspaceSamlConfiguration.js.map +1 -0
  326. package/iam/getOpenidConnectProvider.d.ts +91 -0
  327. package/iam/getOpenidConnectProvider.js +50 -0
  328. package/iam/getOpenidConnectProvider.js.map +1 -0
  329. package/iam/index.d.ts +4 -0
  330. package/iam/index.js +16 -0
  331. package/iam/index.js.map +1 -1
  332. package/iam/serviceLinkedRole.d.ts +0 -6
  333. package/iam/serviceLinkedRole.js +1 -1
  334. package/iam/serviceLinkedRole.js.map +1 -1
  335. package/iam/serviceSpecificCredential.d.ts +120 -0
  336. package/iam/serviceSpecificCredential.js +89 -0
  337. package/iam/serviceSpecificCredential.js.map +1 -0
  338. package/iam/signingCertificate.d.ts +119 -0
  339. package/iam/signingCertificate.js +100 -0
  340. package/iam/signingCertificate.js.map +1 -0
  341. package/iam/userLoginProfile.d.ts +17 -15
  342. package/iam/userLoginProfile.js +2 -3
  343. package/iam/userLoginProfile.js.map +1 -1
  344. package/iam/virtualMfaDevice.d.ts +136 -0
  345. package/iam/virtualMfaDevice.js +86 -0
  346. package/iam/virtualMfaDevice.js.map +1 -0
  347. package/imagebuilder/containerRecipe.d.ts +296 -0
  348. package/imagebuilder/containerRecipe.js +145 -0
  349. package/imagebuilder/containerRecipe.js.map +1 -0
  350. package/imagebuilder/getContainerRecipe.d.ts +124 -0
  351. package/imagebuilder/getContainerRecipe.js +37 -0
  352. package/imagebuilder/getContainerRecipe.js.map +1 -0
  353. package/imagebuilder/getContainerRecipes.d.ts +67 -0
  354. package/imagebuilder/getContainerRecipes.js +42 -0
  355. package/imagebuilder/getContainerRecipes.js.map +1 -0
  356. package/imagebuilder/getImage.d.ts +5 -1
  357. package/imagebuilder/getImage.js.map +1 -1
  358. package/imagebuilder/getImagePipeline.d.ts +5 -1
  359. package/imagebuilder/getImagePipeline.js.map +1 -1
  360. package/imagebuilder/getImageRecipe.d.ts +2 -2
  361. package/imagebuilder/image.d.ts +17 -5
  362. package/imagebuilder/image.js +2 -3
  363. package/imagebuilder/image.js.map +1 -1
  364. package/imagebuilder/imagePipeline.d.ts +17 -5
  365. package/imagebuilder/imagePipeline.js +2 -3
  366. package/imagebuilder/imagePipeline.js.map +1 -1
  367. package/imagebuilder/imageRecipe.d.ts +15 -3
  368. package/imagebuilder/imageRecipe.js +2 -0
  369. package/imagebuilder/imageRecipe.js.map +1 -1
  370. package/imagebuilder/index.d.ts +3 -0
  371. package/imagebuilder/index.js +7 -0
  372. package/imagebuilder/index.js.map +1 -1
  373. package/index.d.ts +5 -1
  374. package/index.js +10 -3
  375. package/index.js.map +1 -1
  376. package/iot/certificate.d.ts +46 -6
  377. package/iot/certificate.js +15 -1
  378. package/iot/certificate.js.map +1 -1
  379. package/iot/topicRule.d.ts +9 -6
  380. package/iot/topicRule.js +2 -0
  381. package/iot/topicRule.js.map +1 -1
  382. package/kinesisanalyticsv2/application.d.ts +1 -1
  383. package/kinesisanalyticsv2/application.js +1 -1
  384. package/kms/getPublicKey.d.ts +4 -0
  385. package/kms/getPublicKey.js.map +1 -1
  386. package/kms/grant.d.ts +1 -1
  387. package/kms/grant.js +1 -1
  388. package/memorydb/acl.d.ts +0 -6
  389. package/memorydb/acl.js +1 -1
  390. package/memorydb/acl.js.map +1 -1
  391. package/memorydb/cluster.d.ts +0 -6
  392. package/memorydb/cluster.js +1 -1
  393. package/memorydb/cluster.js.map +1 -1
  394. package/memorydb/parameterGroup.d.ts +0 -6
  395. package/memorydb/parameterGroup.js +1 -1
  396. package/memorydb/parameterGroup.js.map +1 -1
  397. package/memorydb/snapshot.d.ts +0 -6
  398. package/memorydb/snapshot.js +1 -1
  399. package/memorydb/snapshot.js.map +1 -1
  400. package/memorydb/subnetGroup.d.ts +0 -6
  401. package/memorydb/subnetGroup.js +1 -1
  402. package/memorydb/subnetGroup.js.map +1 -1
  403. package/memorydb/user.d.ts +0 -6
  404. package/memorydb/user.js +1 -1
  405. package/memorydb/user.js.map +1 -1
  406. package/msk/cluster.d.ts +6 -6
  407. package/networkmanager/connection.d.ts +159 -0
  408. package/networkmanager/connection.js +99 -0
  409. package/networkmanager/connection.js.map +1 -0
  410. package/networkmanager/customerGatewayAssociation.d.ts +135 -0
  411. package/networkmanager/customerGatewayAssociation.js +115 -0
  412. package/networkmanager/customerGatewayAssociation.js.map +1 -0
  413. package/networkmanager/device.d.ts +195 -0
  414. package/networkmanager/device.js +98 -0
  415. package/networkmanager/device.js.map +1 -0
  416. package/networkmanager/getConnection.d.ts +97 -0
  417. package/networkmanager/getConnection.js +39 -0
  418. package/networkmanager/getConnection.js.map +1 -0
  419. package/networkmanager/getConnections.d.ts +76 -0
  420. package/networkmanager/getConnections.js +41 -0
  421. package/networkmanager/getConnections.js.map +1 -0
  422. package/networkmanager/getDevice.d.ts +110 -0
  423. package/networkmanager/getDevice.js +39 -0
  424. package/networkmanager/getDevice.js.map +1 -0
  425. package/networkmanager/getDevices.d.ts +76 -0
  426. package/networkmanager/getDevices.js +41 -0
  427. package/networkmanager/getDevices.js.map +1 -0
  428. package/networkmanager/getGlobalNetwork.d.ts +71 -0
  429. package/networkmanager/getGlobalNetwork.js +37 -0
  430. package/networkmanager/getGlobalNetwork.js.map +1 -0
  431. package/networkmanager/getGlobalNetworks.d.ts +57 -0
  432. package/networkmanager/getGlobalNetworks.js +39 -0
  433. package/networkmanager/getGlobalNetworks.js.map +1 -0
  434. package/networkmanager/getLink.d.ts +98 -0
  435. package/networkmanager/getLink.js +39 -0
  436. package/networkmanager/getLink.js.map +1 -0
  437. package/networkmanager/getLinks.d.ts +94 -0
  438. package/networkmanager/getLinks.js +43 -0
  439. package/networkmanager/getLinks.js.map +1 -0
  440. package/networkmanager/getSite.d.ts +86 -0
  441. package/networkmanager/getSite.js +39 -0
  442. package/networkmanager/getSite.js.map +1 -0
  443. package/networkmanager/getSites.d.ts +67 -0
  444. package/networkmanager/getSites.js +40 -0
  445. package/networkmanager/getSites.js.map +1 -0
  446. package/networkmanager/globalNetwork.d.ts +96 -0
  447. package/networkmanager/globalNetwork.js +77 -0
  448. package/networkmanager/globalNetwork.js.map +1 -0
  449. package/networkmanager/index.d.ts +19 -0
  450. package/networkmanager/index.js +87 -0
  451. package/networkmanager/index.js.map +1 -0
  452. package/networkmanager/link.d.ts +163 -0
  453. package/networkmanager/link.js +102 -0
  454. package/networkmanager/link.js.map +1 -0
  455. package/networkmanager/linkAssociation.d.ts +98 -0
  456. package/networkmanager/linkAssociation.js +88 -0
  457. package/networkmanager/linkAssociation.js.map +1 -0
  458. package/networkmanager/site.d.ts +120 -0
  459. package/networkmanager/site.js +83 -0
  460. package/networkmanager/site.js.map +1 -0
  461. package/networkmanager/transitGatewayConnectPeerAssociation.d.ts +109 -0
  462. package/networkmanager/transitGatewayConnectPeerAssociation.js +89 -0
  463. package/networkmanager/transitGatewayConnectPeerAssociation.js.map +1 -0
  464. package/networkmanager/transitGatewayRegistration.d.ts +87 -0
  465. package/networkmanager/transitGatewayRegistration.js +84 -0
  466. package/networkmanager/transitGatewayRegistration.js.map +1 -0
  467. package/opsworks/ecsClusterLayer.d.ts +294 -0
  468. package/opsworks/ecsClusterLayer.js +118 -0
  469. package/opsworks/ecsClusterLayer.js.map +1 -0
  470. package/opsworks/index.d.ts +1 -0
  471. package/opsworks/index.js +5 -0
  472. package/opsworks/index.js.map +1 -1
  473. package/opsworks/instance.d.ts +223 -151
  474. package/opsworks/instance.js +35 -45
  475. package/opsworks/instance.js.map +1 -1
  476. package/organizations/delegatedAdministrator.d.ts +2 -2
  477. package/organizations/delegatedAdministrator.js +2 -2
  478. package/package.json +2 -2
  479. package/package.json.dev +2 -2
  480. package/provider.d.ts +18 -0
  481. package/provider.js +2 -0
  482. package/provider.js.map +1 -1
  483. package/quicksight/user.d.ts +4 -3
  484. package/quicksight/user.js +1 -0
  485. package/quicksight/user.js.map +1 -1
  486. package/rds/cluster.d.ts +83 -9
  487. package/rds/cluster.js +34 -0
  488. package/rds/cluster.js.map +1 -1
  489. package/rds/globalCluster.d.ts +3 -157
  490. package/rds/globalCluster.js +0 -133
  491. package/rds/globalCluster.js.map +1 -1
  492. package/redshift/cluster.d.ts +29 -14
  493. package/redshift/cluster.js +4 -2
  494. package/redshift/cluster.js.map +1 -1
  495. package/redshift/getCluster.d.ts +12 -8
  496. package/redshift/getCluster.js +8 -8
  497. package/redshift/getCluster.js.map +1 -1
  498. package/route53/keySigningKey.d.ts +13 -4
  499. package/route53/keySigningKey.js +13 -4
  500. package/route53/keySigningKey.js.map +1 -1
  501. package/route53/record.d.ts +3 -12
  502. package/route53/record.js.map +1 -1
  503. package/route53domains/index.d.ts +1 -0
  504. package/route53domains/index.js +37 -0
  505. package/route53domains/index.js.map +1 -0
  506. package/route53domains/registeredDomain.d.ts +296 -0
  507. package/route53domains/registeredDomain.js +117 -0
  508. package/route53domains/registeredDomain.js.map +1 -0
  509. package/s3/bucket.d.ts +0 -6
  510. package/s3/bucket.js +1 -1
  511. package/s3/bucket.js.map +1 -1
  512. package/s3/bucketAccelerateConfigurationV2.d.ts +2 -2
  513. package/s3/bucketAccelerateConfigurationV2.js +2 -2
  514. package/s3/bucketAclV2.d.ts +6 -4
  515. package/s3/bucketAclV2.js +6 -4
  516. package/s3/bucketAclV2.js.map +1 -1
  517. package/s3/bucketCorsConfigurationV2.d.ts +4 -2
  518. package/s3/bucketCorsConfigurationV2.js +4 -2
  519. package/s3/bucketCorsConfigurationV2.js.map +1 -1
  520. package/s3/bucketLifecycleConfigurationV2.d.ts +2 -107
  521. package/s3/bucketLifecycleConfigurationV2.js +2 -107
  522. package/s3/bucketLifecycleConfigurationV2.js.map +1 -1
  523. package/s3/bucketLoggingV2.d.ts +10 -6
  524. package/s3/bucketLoggingV2.js +7 -3
  525. package/s3/bucketLoggingV2.js.map +1 -1
  526. package/s3/bucketObject.d.ts +1 -3
  527. package/s3/bucketObject.js +1 -3
  528. package/s3/bucketObject.js.map +1 -1
  529. package/s3/bucketObjectLockConfigurationV2.d.ts +22 -9
  530. package/s3/bucketObjectLockConfigurationV2.js +16 -6
  531. package/s3/bucketObjectLockConfigurationV2.js.map +1 -1
  532. package/s3/bucketObjectv2.d.ts +1 -9
  533. package/s3/bucketObjectv2.js +2 -4
  534. package/s3/bucketObjectv2.js.map +1 -1
  535. package/s3/bucketPolicy.d.ts +1 -1
  536. package/s3/bucketPolicy.js +1 -1
  537. package/s3/bucketReplicationConfig.d.ts +35 -8
  538. package/s3/bucketReplicationConfig.js +19 -5
  539. package/s3/bucketReplicationConfig.js.map +1 -1
  540. package/s3/bucketRequestPaymentConfigurationV2.d.ts +2 -2
  541. package/s3/bucketRequestPaymentConfigurationV2.js +2 -2
  542. package/s3/bucketServerSideEncryptionConfigurationV2.d.ts +2 -2
  543. package/s3/bucketServerSideEncryptionConfigurationV2.js +2 -2
  544. package/s3/bucketV2.d.ts +18 -66
  545. package/s3/bucketV2.js +2 -60
  546. package/s3/bucketV2.js.map +1 -1
  547. package/s3/bucketVersioningV2.d.ts +21 -8
  548. package/s3/bucketVersioningV2.js +21 -8
  549. package/s3/bucketVersioningV2.js.map +1 -1
  550. package/s3/bucketWebsiteConfigurationV2.d.ts +2 -2
  551. package/s3/bucketWebsiteConfigurationV2.js +2 -2
  552. package/sagemaker/project.d.ts +0 -6
  553. package/sagemaker/project.js +1 -1
  554. package/sagemaker/project.js.map +1 -1
  555. package/servicecatalog/provisionedProduct.d.ts +8 -0
  556. package/servicecatalog/provisionedProduct.js +2 -0
  557. package/servicecatalog/provisionedProduct.js.map +1 -1
  558. package/ses/mailFrom.d.ts +18 -4
  559. package/ses/mailFrom.js +15 -1
  560. package/ses/mailFrom.js.map +1 -1
  561. package/ssm/association.d.ts +26 -0
  562. package/ssm/association.js +4 -0
  563. package/ssm/association.js.map +1 -1
  564. package/ssm/getInstances.d.ts +53 -0
  565. package/ssm/getInstances.js +40 -0
  566. package/ssm/getInstances.js.map +1 -0
  567. package/ssm/index.d.ts +1 -0
  568. package/ssm/index.js +1 -0
  569. package/ssm/index.js.map +1 -1
  570. package/transfer/server.d.ts +24 -0
  571. package/transfer/server.js +4 -0
  572. package/transfer/server.js.map +1 -1
  573. package/types/input.d.ts +1513 -229
  574. package/types/output.d.ts +1617 -131
  575. package/wafv2/ruleGroup.d.ts +0 -6
  576. package/wafv2/ruleGroup.js +1 -1
  577. package/wafv2/ruleGroup.js.map +1 -1
  578. package/wafv2/webAcl.d.ts +0 -6
  579. package/wafv2/webAcl.js +1 -1
  580. package/wafv2/webAcl.js.map +1 -1
  581. package/wafv2/webAclLoggingConfiguration.d.ts +1 -1
  582. package/wafv2/webAclLoggingConfiguration.js +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceSpecificCredential.js","sourceRoot":"","sources":["../../iam/serviceSpecificCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IA6DhE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CA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IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DA0FC;AA5EG,gBAAgB;AACO,sCAAY,GAAG,6DAA6D,CAAC"}
@@ -0,0 +1,119 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * **Using certs on file:**
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ * import * from "fs";
11
+ *
12
+ * const testCert = new aws.iam.SigningCertificate("testCert", {
13
+ * username: "some_test_cert",
14
+ * certificateBody: fs.readFileSync("self-ca-cert.pem"),
15
+ * });
16
+ * ```
17
+ *
18
+ * **Example with cert in-line:**
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as aws from "@pulumi/aws";
23
+ *
24
+ * const testCertAlt = new aws.iam.SigningCertificate("test_cert_alt", {
25
+ * certificateBody: `-----BEGIN CERTIFICATE-----
26
+ * [......] # cert contents
27
+ * -----END CERTIFICATE-----
28
+ * `,
29
+ * username: "some_test_cert",
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * IAM Signing Certificates can be imported using the `id`, e.g.,
36
+ *
37
+ * ```sh
38
+ * $ pulumi import aws:iam/signingCertificate:SigningCertificate certificate IDIDIDIDID:user-name
39
+ * ```
40
+ */
41
+ export declare class SigningCertificate extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing SigningCertificate resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SigningCertificateState, opts?: pulumi.CustomResourceOptions): SigningCertificate;
52
+ /**
53
+ * Returns true if the given object is an instance of SigningCertificate. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj: any): obj is SigningCertificate;
57
+ /**
58
+ * The contents of the signing certificate in PEM-encoded format.
59
+ */
60
+ readonly certificateBody: pulumi.Output<string>;
61
+ /**
62
+ * The ID for the signing certificate.
63
+ */
64
+ readonly certificateId: pulumi.Output<string>;
65
+ /**
66
+ * The status you want to assign to the certificate. `Active` means that the certificate can be used for programmatic calls to Amazon Web Services `Inactive` means that the certificate cannot be used.
67
+ */
68
+ readonly status: pulumi.Output<string | undefined>;
69
+ /**
70
+ * The name of the user the signing certificate is for.
71
+ */
72
+ readonly userName: pulumi.Output<string>;
73
+ /**
74
+ * Create a SigningCertificate resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: SigningCertificateArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering SigningCertificate resources.
84
+ */
85
+ export interface SigningCertificateState {
86
+ /**
87
+ * The contents of the signing certificate in PEM-encoded format.
88
+ */
89
+ certificateBody?: pulumi.Input<string>;
90
+ /**
91
+ * The ID for the signing certificate.
92
+ */
93
+ certificateId?: pulumi.Input<string>;
94
+ /**
95
+ * The status you want to assign to the certificate. `Active` means that the certificate can be used for programmatic calls to Amazon Web Services `Inactive` means that the certificate cannot be used.
96
+ */
97
+ status?: pulumi.Input<string>;
98
+ /**
99
+ * The name of the user the signing certificate is for.
100
+ */
101
+ userName?: pulumi.Input<string>;
102
+ }
103
+ /**
104
+ * The set of arguments for constructing a SigningCertificate resource.
105
+ */
106
+ export interface SigningCertificateArgs {
107
+ /**
108
+ * The contents of the signing certificate in PEM-encoded format.
109
+ */
110
+ certificateBody: pulumi.Input<string>;
111
+ /**
112
+ * The status you want to assign to the certificate. `Active` means that the certificate can be used for programmatic calls to Amazon Web Services `Inactive` means that the certificate cannot be used.
113
+ */
114
+ status?: pulumi.Input<string>;
115
+ /**
116
+ * The name of the user the signing certificate is for.
117
+ */
118
+ userName: pulumi.Input<string>;
119
+ }
@@ -0,0 +1,100 @@
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.SigningCertificate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * **Using certs on file:**
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ * import * from "fs";
17
+ *
18
+ * const testCert = new aws.iam.SigningCertificate("testCert", {
19
+ * username: "some_test_cert",
20
+ * certificateBody: fs.readFileSync("self-ca-cert.pem"),
21
+ * });
22
+ * ```
23
+ *
24
+ * **Example with cert in-line:**
25
+ *
26
+ * ```typescript
27
+ * import * as pulumi from "@pulumi/pulumi";
28
+ * import * as aws from "@pulumi/aws";
29
+ *
30
+ * const testCertAlt = new aws.iam.SigningCertificate("test_cert_alt", {
31
+ * certificateBody: `-----BEGIN CERTIFICATE-----
32
+ * [......] # cert contents
33
+ * -----END CERTIFICATE-----
34
+ * `,
35
+ * username: "some_test_cert",
36
+ * });
37
+ * ```
38
+ *
39
+ * ## Import
40
+ *
41
+ * IAM Signing Certificates can be imported using the `id`, e.g.,
42
+ *
43
+ * ```sh
44
+ * $ pulumi import aws:iam/signingCertificate:SigningCertificate certificate IDIDIDIDID:user-name
45
+ * ```
46
+ */
47
+ class SigningCertificate extends pulumi.CustomResource {
48
+ constructor(name, argsOrState, opts) {
49
+ let resourceInputs = {};
50
+ opts = opts || {};
51
+ if (opts.id) {
52
+ const state = argsOrState;
53
+ resourceInputs["certificateBody"] = state ? state.certificateBody : undefined;
54
+ resourceInputs["certificateId"] = state ? state.certificateId : undefined;
55
+ resourceInputs["status"] = state ? state.status : undefined;
56
+ resourceInputs["userName"] = state ? state.userName : undefined;
57
+ }
58
+ else {
59
+ const args = argsOrState;
60
+ if ((!args || args.certificateBody === undefined) && !opts.urn) {
61
+ throw new Error("Missing required property 'certificateBody'");
62
+ }
63
+ if ((!args || args.userName === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'userName'");
65
+ }
66
+ resourceInputs["certificateBody"] = args ? args.certificateBody : undefined;
67
+ resourceInputs["status"] = args ? args.status : undefined;
68
+ resourceInputs["userName"] = args ? args.userName : undefined;
69
+ resourceInputs["certificateId"] = undefined /*out*/;
70
+ }
71
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
72
+ super(SigningCertificate.__pulumiType, name, resourceInputs, opts);
73
+ }
74
+ /**
75
+ * Get an existing SigningCertificate resource's state with the given name, ID, and optional extra
76
+ * properties used to qualify the lookup.
77
+ *
78
+ * @param name The _unique_ name of the resulting resource.
79
+ * @param id The _unique_ provider ID of the resource to lookup.
80
+ * @param state Any extra arguments used during the lookup.
81
+ * @param opts Optional settings to control the behavior of the CustomResource.
82
+ */
83
+ static get(name, id, state, opts) {
84
+ return new SigningCertificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
85
+ }
86
+ /**
87
+ * Returns true if the given object is an instance of SigningCertificate. This is designed to work even
88
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
89
+ */
90
+ static isInstance(obj) {
91
+ if (obj === undefined || obj === null) {
92
+ return false;
93
+ }
94
+ return obj['__pulumiType'] === SigningCertificate.__pulumiType;
95
+ }
96
+ }
97
+ exports.SigningCertificate = SigningCertificate;
98
+ /** @internal */
99
+ SigningCertificate.__pulumiType = 'aws:iam/signingCertificate:SigningCertificate';
100
+ //# sourceMappingURL=signingCertificate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signingCertificate.js","sourceRoot":"","sources":["../../iam/signingCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAqDzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;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,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA8EC;AAhEG,gBAAgB;AACO,+BAAY,GAAG,+CAA+C,CAAC"}
@@ -63,26 +63,27 @@ export declare class UserLoginProfile extends pulumi.CustomResource {
63
63
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
64
64
  */
65
65
  static isInstance(obj: any): obj is UserLoginProfile;
66
- /**
67
- * The encrypted password, base64 encoded. Only available if password was handled on this provider resource creation, not import.
68
- */
69
66
  readonly encryptedPassword: pulumi.Output<string>;
70
67
  /**
71
68
  * The fingerprint of the PGP key used to encrypt the password. Only available if password was handled on this provider resource creation, not import.
72
69
  */
73
70
  readonly keyFingerprint: pulumi.Output<string>;
74
71
  /**
75
- * The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument.
72
+ * The plain text password, only available when `pgpKey` is not provided.
73
+ */
74
+ readonly password: pulumi.Output<string>;
75
+ /**
76
+ * The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument. Default value is `20`.
76
77
  */
77
78
  readonly passwordLength: pulumi.Output<number | undefined>;
78
79
  /**
79
- * Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument.
80
+ * Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
80
81
  */
81
- readonly passwordResetRequired: pulumi.Output<boolean | undefined>;
82
+ readonly passwordResetRequired: pulumi.Output<boolean>;
82
83
  /**
83
84
  * Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:username`. Only applies on resource creation. Drift detection is not possible with this argument.
84
85
  */
85
- readonly pgpKey: pulumi.Output<string>;
86
+ readonly pgpKey: pulumi.Output<string | undefined>;
86
87
  /**
87
88
  * The IAM user's name.
88
89
  */
@@ -100,20 +101,21 @@ export declare class UserLoginProfile extends pulumi.CustomResource {
100
101
  * Input properties used for looking up and filtering UserLoginProfile resources.
101
102
  */
102
103
  export interface UserLoginProfileState {
103
- /**
104
- * The encrypted password, base64 encoded. Only available if password was handled on this provider resource creation, not import.
105
- */
106
104
  encryptedPassword?: pulumi.Input<string>;
107
105
  /**
108
106
  * The fingerprint of the PGP key used to encrypt the password. Only available if password was handled on this provider resource creation, not import.
109
107
  */
110
108
  keyFingerprint?: pulumi.Input<string>;
111
109
  /**
112
- * The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument.
110
+ * The plain text password, only available when `pgpKey` is not provided.
111
+ */
112
+ password?: pulumi.Input<string>;
113
+ /**
114
+ * The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument. Default value is `20`.
113
115
  */
114
116
  passwordLength?: pulumi.Input<number>;
115
117
  /**
116
- * Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument.
118
+ * Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
117
119
  */
118
120
  passwordResetRequired?: pulumi.Input<boolean>;
119
121
  /**
@@ -130,17 +132,17 @@ export interface UserLoginProfileState {
130
132
  */
131
133
  export interface UserLoginProfileArgs {
132
134
  /**
133
- * The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument.
135
+ * The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument. Default value is `20`.
134
136
  */
135
137
  passwordLength?: pulumi.Input<number>;
136
138
  /**
137
- * Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument.
139
+ * Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
138
140
  */
139
141
  passwordResetRequired?: pulumi.Input<boolean>;
140
142
  /**
141
143
  * Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:username`. Only applies on resource creation. Drift detection is not possible with this argument.
142
144
  */
143
- pgpKey: pulumi.Input<string>;
145
+ pgpKey?: pulumi.Input<string>;
144
146
  /**
145
147
  * The IAM user's name.
146
148
  */
@@ -61,6 +61,7 @@ class UserLoginProfile extends pulumi.CustomResource {
61
61
  const state = argsOrState;
62
62
  resourceInputs["encryptedPassword"] = state ? state.encryptedPassword : undefined;
63
63
  resourceInputs["keyFingerprint"] = state ? state.keyFingerprint : undefined;
64
+ resourceInputs["password"] = state ? state.password : undefined;
64
65
  resourceInputs["passwordLength"] = state ? state.passwordLength : undefined;
65
66
  resourceInputs["passwordResetRequired"] = state ? state.passwordResetRequired : undefined;
66
67
  resourceInputs["pgpKey"] = state ? state.pgpKey : undefined;
@@ -68,9 +69,6 @@ class UserLoginProfile extends pulumi.CustomResource {
68
69
  }
69
70
  else {
70
71
  const args = argsOrState;
71
- if ((!args || args.pgpKey === undefined) && !opts.urn) {
72
- throw new Error("Missing required property 'pgpKey'");
73
- }
74
72
  if ((!args || args.user === undefined) && !opts.urn) {
75
73
  throw new Error("Missing required property 'user'");
76
74
  }
@@ -80,6 +78,7 @@ class UserLoginProfile extends pulumi.CustomResource {
80
78
  resourceInputs["user"] = args ? args.user : undefined;
81
79
  resourceInputs["encryptedPassword"] = undefined /*out*/;
82
80
  resourceInputs["keyFingerprint"] = undefined /*out*/;
81
+ resourceInputs["password"] = undefined /*out*/;
83
82
  }
84
83
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
84
  super(UserLoginProfile.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"userLoginProfile.js","sourceRoot":"","sources":["../../iam/userLoginProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA6DvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,I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AAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CA0FC;AA5EG,gBAAgB;AACO,6BAAY,GAAG,2CAA2C,CAAC"}
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * **Using certs on file:**
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const example = new aws.iam.VirtualMfaDevice("example", {
12
+ * virtualMfaDeviceName: "example",
13
+ * });
14
+ * ```
15
+ *
16
+ * ## Import
17
+ *
18
+ * IAM Virtual MFA Devices can be imported using the `arn`, e.g.,
19
+ *
20
+ * ```sh
21
+ * $ pulumi import aws:iam/virtualMfaDevice:VirtualMfaDevice example arn:aws:iam::123456789012:mfa/example
22
+ * ```
23
+ */
24
+ export declare class VirtualMfaDevice extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing VirtualMfaDevice resource's state with the given name, ID, and optional extra
27
+ * properties used to qualify the lookup.
28
+ *
29
+ * @param name The _unique_ name of the resulting resource.
30
+ * @param id The _unique_ provider ID of the resource to lookup.
31
+ * @param state Any extra arguments used during the lookup.
32
+ * @param opts Optional settings to control the behavior of the CustomResource.
33
+ */
34
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualMfaDeviceState, opts?: pulumi.CustomResourceOptions): VirtualMfaDevice;
35
+ /**
36
+ * Returns true if the given object is an instance of VirtualMfaDevice. This is designed to work even
37
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
+ */
39
+ static isInstance(obj: any): obj is VirtualMfaDevice;
40
+ /**
41
+ * The Amazon Resource Name (ARN) specifying the virtual mfa device.
42
+ */
43
+ readonly arn: pulumi.Output<string>;
44
+ /**
45
+ * The base32 seed defined as specified in [RFC3548](https://tools.ietf.org/html/rfc3548.txt). The `base32StringSeed` is base64-encoded.
46
+ */
47
+ readonly base32StringSeed: pulumi.Output<string>;
48
+ /**
49
+ * The path for the virtual MFA device.
50
+ */
51
+ readonly path: pulumi.Output<string | undefined>;
52
+ /**
53
+ * A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format.
54
+ */
55
+ readonly qrCodePng: pulumi.Output<string>;
56
+ /**
57
+ * Map of resource tags for the virtual mfa device. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
58
+ */
59
+ readonly tags: pulumi.Output<{
60
+ [key: string]: string;
61
+ } | undefined>;
62
+ /**
63
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
64
+ */
65
+ readonly tagsAll: pulumi.Output<{
66
+ [key: string]: string;
67
+ }>;
68
+ /**
69
+ * The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
70
+ */
71
+ readonly virtualMfaDeviceName: pulumi.Output<string>;
72
+ /**
73
+ * Create a VirtualMfaDevice resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args: VirtualMfaDeviceArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * Input properties used for looking up and filtering VirtualMfaDevice resources.
83
+ */
84
+ export interface VirtualMfaDeviceState {
85
+ /**
86
+ * The Amazon Resource Name (ARN) specifying the virtual mfa device.
87
+ */
88
+ arn?: pulumi.Input<string>;
89
+ /**
90
+ * The base32 seed defined as specified in [RFC3548](https://tools.ietf.org/html/rfc3548.txt). The `base32StringSeed` is base64-encoded.
91
+ */
92
+ base32StringSeed?: pulumi.Input<string>;
93
+ /**
94
+ * The path for the virtual MFA device.
95
+ */
96
+ path?: pulumi.Input<string>;
97
+ /**
98
+ * A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format.
99
+ */
100
+ qrCodePng?: pulumi.Input<string>;
101
+ /**
102
+ * Map of resource tags for the virtual mfa device. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
103
+ */
104
+ tags?: pulumi.Input<{
105
+ [key: string]: pulumi.Input<string>;
106
+ }>;
107
+ /**
108
+ * A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
109
+ */
110
+ tagsAll?: pulumi.Input<{
111
+ [key: string]: pulumi.Input<string>;
112
+ }>;
113
+ /**
114
+ * The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
115
+ */
116
+ virtualMfaDeviceName?: pulumi.Input<string>;
117
+ }
118
+ /**
119
+ * The set of arguments for constructing a VirtualMfaDevice resource.
120
+ */
121
+ export interface VirtualMfaDeviceArgs {
122
+ /**
123
+ * The path for the virtual MFA device.
124
+ */
125
+ path?: pulumi.Input<string>;
126
+ /**
127
+ * Map of resource tags for the virtual mfa device. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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
+ /**
133
+ * The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
134
+ */
135
+ virtualMfaDeviceName: pulumi.Input<string>;
136
+ }
@@ -0,0 +1,86 @@
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.VirtualMfaDevice = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * **Using certs on file:**
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.iam.VirtualMfaDevice("example", {
18
+ * virtualMfaDeviceName: "example",
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * IAM Virtual MFA Devices can be imported using the `arn`, e.g.,
25
+ *
26
+ * ```sh
27
+ * $ pulumi import aws:iam/virtualMfaDevice:VirtualMfaDevice example arn:aws:iam::123456789012:mfa/example
28
+ * ```
29
+ */
30
+ class VirtualMfaDevice extends pulumi.CustomResource {
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["arn"] = state ? state.arn : undefined;
37
+ resourceInputs["base32StringSeed"] = state ? state.base32StringSeed : undefined;
38
+ resourceInputs["path"] = state ? state.path : undefined;
39
+ resourceInputs["qrCodePng"] = state ? state.qrCodePng : undefined;
40
+ resourceInputs["tags"] = state ? state.tags : undefined;
41
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
42
+ resourceInputs["virtualMfaDeviceName"] = state ? state.virtualMfaDeviceName : undefined;
43
+ }
44
+ else {
45
+ const args = argsOrState;
46
+ if ((!args || args.virtualMfaDeviceName === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'virtualMfaDeviceName'");
48
+ }
49
+ resourceInputs["path"] = args ? args.path : undefined;
50
+ resourceInputs["tags"] = args ? args.tags : undefined;
51
+ resourceInputs["virtualMfaDeviceName"] = args ? args.virtualMfaDeviceName : undefined;
52
+ resourceInputs["arn"] = undefined /*out*/;
53
+ resourceInputs["base32StringSeed"] = undefined /*out*/;
54
+ resourceInputs["qrCodePng"] = undefined /*out*/;
55
+ resourceInputs["tagsAll"] = undefined /*out*/;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ super(VirtualMfaDevice.__pulumiType, name, resourceInputs, opts);
59
+ }
60
+ /**
61
+ * Get an existing VirtualMfaDevice resource's state with the given name, ID, and optional extra
62
+ * properties used to qualify the lookup.
63
+ *
64
+ * @param name The _unique_ name of the resulting resource.
65
+ * @param id The _unique_ provider ID of the resource to lookup.
66
+ * @param state Any extra arguments used during the lookup.
67
+ * @param opts Optional settings to control the behavior of the CustomResource.
68
+ */
69
+ static get(name, id, state, opts) {
70
+ return new VirtualMfaDevice(name, state, Object.assign(Object.assign({}, opts), { id: id }));
71
+ }
72
+ /**
73
+ * Returns true if the given object is an instance of VirtualMfaDevice. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj) {
77
+ if (obj === undefined || obj === null) {
78
+ return false;
79
+ }
80
+ return obj['__pulumiType'] === VirtualMfaDevice.__pulumiType;
81
+ }
82
+ }
83
+ exports.VirtualMfaDevice = VirtualMfaDevice;
84
+ /** @internal */
85
+ VirtualMfaDevice.__pulumiType = 'aws:iam/virtualMfaDevice:VirtualMfaDevice';
86
+ //# sourceMappingURL=virtualMfaDevice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtualMfaDevice.js","sourceRoot":"","sources":["../../iam/virtualMfaDevice.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAiEvD,YAAY,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