@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,231 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an Amazon Managed Grafana workspace resource.
4
+ *
5
+ * ## Example Usage
6
+ * ### Basic configuration
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const assume = new aws.iam.Role("assume", {assumeRolePolicy: JSON.stringify({
13
+ * Version: "2012-10-17",
14
+ * Statement: [{
15
+ * Action: "sts:AssumeRole",
16
+ * Effect: "Allow",
17
+ * Sid: "",
18
+ * Principal: {
19
+ * Service: "grafana.amazonaws.com",
20
+ * },
21
+ * }],
22
+ * })});
23
+ * const example = new aws.grafana.Workspace("example", {
24
+ * accountAccessType: "CURRENT_ACCOUNT",
25
+ * authenticationProviders: ["SAML"],
26
+ * permissionType: "SERVICE_MANAGED",
27
+ * roleArn: assume.arn,
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * Grafana Workspace can be imported using the workspace's `id`, e.g.,
34
+ *
35
+ * ```sh
36
+ * $ pulumi import aws:grafana/workspace:Workspace example g-2054c75a02
37
+ * ```
38
+ */
39
+ export declare class Workspace extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing Workspace resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceState, opts?: pulumi.CustomResourceOptions): Workspace;
50
+ /**
51
+ * Returns true if the given object is an instance of Workspace. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj: any): obj is Workspace;
55
+ /**
56
+ * The type of account access for the workspace. Valid values are `CURRENT_ACCOUNT` and `ORGANIZATION`. If `ORGANIZATION` is specified, then `organizationalUnits` must also be present.
57
+ */
58
+ readonly accountAccessType: pulumi.Output<string>;
59
+ /**
60
+ * The Amazon Resource Name (ARN) of the Grafana workspace.
61
+ */
62
+ readonly arn: pulumi.Output<string>;
63
+ /**
64
+ * The authentication providers for the workspace. Valid values are `AWS_SSO`, `SAML`, or both.
65
+ */
66
+ readonly authenticationProviders: pulumi.Output<string[]>;
67
+ /**
68
+ * The data sources for the workspace. Valid values are `AMAZON_OPENSEARCH_SERVICE`, `CLOUDWATCH`, `PROMETHEUS`, `XRAY`, `TIMESTREAM`, `SITEWISE`.
69
+ */
70
+ readonly dataSources: pulumi.Output<string[] | undefined>;
71
+ /**
72
+ * The workspace description.
73
+ */
74
+ readonly description: pulumi.Output<string | undefined>;
75
+ /**
76
+ * The endpoint of the Grafana workspace.
77
+ */
78
+ readonly endpoint: pulumi.Output<string>;
79
+ /**
80
+ * The version of Grafana running on the workspace.
81
+ */
82
+ readonly grafanaVersion: pulumi.Output<string>;
83
+ /**
84
+ * The Grafana workspace name.
85
+ */
86
+ readonly name: pulumi.Output<string>;
87
+ /**
88
+ * The notification destinations. If a data source is specified here, Amazon Managed Grafana will create IAM roles and permissions needed to use these destinations. Must be set to `SNS`.
89
+ */
90
+ readonly notificationDestinations: pulumi.Output<string[] | undefined>;
91
+ /**
92
+ * The role name that the workspace uses to access resources through Amazon Organizations.
93
+ */
94
+ readonly organizationRoleName: pulumi.Output<string | undefined>;
95
+ /**
96
+ * The Amazon Organizations organizational units that the workspace is authorized to use data sources from.
97
+ */
98
+ readonly organizationalUnits: pulumi.Output<string[] | undefined>;
99
+ /**
100
+ * The permission type of the workspace. If `SERVICE_MANAGED` is specified, the IAM roles and IAM policy attachments are generated automatically. If `CUSTOMER_MANAGED` is specified, the IAM roles and IAM policy attachments will not be created.
101
+ */
102
+ readonly permissionType: pulumi.Output<string>;
103
+ /**
104
+ * The IAM role ARN that the workspace assumes.
105
+ */
106
+ readonly roleArn: pulumi.Output<string | undefined>;
107
+ readonly samlConfigurationStatus: pulumi.Output<string>;
108
+ /**
109
+ * The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace.
110
+ */
111
+ readonly stackSetName: pulumi.Output<string | undefined>;
112
+ /**
113
+ * Create a Workspace resource with the given unique name, arguments, and options.
114
+ *
115
+ * @param name The _unique_ name of the resource.
116
+ * @param args The arguments to use to populate this resource's properties.
117
+ * @param opts A bag of options that control this resource's behavior.
118
+ */
119
+ constructor(name: string, args: WorkspaceArgs, opts?: pulumi.CustomResourceOptions);
120
+ }
121
+ /**
122
+ * Input properties used for looking up and filtering Workspace resources.
123
+ */
124
+ export interface WorkspaceState {
125
+ /**
126
+ * The type of account access for the workspace. Valid values are `CURRENT_ACCOUNT` and `ORGANIZATION`. If `ORGANIZATION` is specified, then `organizationalUnits` must also be present.
127
+ */
128
+ accountAccessType?: pulumi.Input<string>;
129
+ /**
130
+ * The Amazon Resource Name (ARN) of the Grafana workspace.
131
+ */
132
+ arn?: pulumi.Input<string>;
133
+ /**
134
+ * The authentication providers for the workspace. Valid values are `AWS_SSO`, `SAML`, or both.
135
+ */
136
+ authenticationProviders?: pulumi.Input<pulumi.Input<string>[]>;
137
+ /**
138
+ * The data sources for the workspace. Valid values are `AMAZON_OPENSEARCH_SERVICE`, `CLOUDWATCH`, `PROMETHEUS`, `XRAY`, `TIMESTREAM`, `SITEWISE`.
139
+ */
140
+ dataSources?: pulumi.Input<pulumi.Input<string>[]>;
141
+ /**
142
+ * The workspace description.
143
+ */
144
+ description?: pulumi.Input<string>;
145
+ /**
146
+ * The endpoint of the Grafana workspace.
147
+ */
148
+ endpoint?: pulumi.Input<string>;
149
+ /**
150
+ * The version of Grafana running on the workspace.
151
+ */
152
+ grafanaVersion?: pulumi.Input<string>;
153
+ /**
154
+ * The Grafana workspace name.
155
+ */
156
+ name?: pulumi.Input<string>;
157
+ /**
158
+ * The notification destinations. If a data source is specified here, Amazon Managed Grafana will create IAM roles and permissions needed to use these destinations. Must be set to `SNS`.
159
+ */
160
+ notificationDestinations?: pulumi.Input<pulumi.Input<string>[]>;
161
+ /**
162
+ * The role name that the workspace uses to access resources through Amazon Organizations.
163
+ */
164
+ organizationRoleName?: pulumi.Input<string>;
165
+ /**
166
+ * The Amazon Organizations organizational units that the workspace is authorized to use data sources from.
167
+ */
168
+ organizationalUnits?: pulumi.Input<pulumi.Input<string>[]>;
169
+ /**
170
+ * The permission type of the workspace. If `SERVICE_MANAGED` is specified, the IAM roles and IAM policy attachments are generated automatically. If `CUSTOMER_MANAGED` is specified, the IAM roles and IAM policy attachments will not be created.
171
+ */
172
+ permissionType?: pulumi.Input<string>;
173
+ /**
174
+ * The IAM role ARN that the workspace assumes.
175
+ */
176
+ roleArn?: pulumi.Input<string>;
177
+ samlConfigurationStatus?: pulumi.Input<string>;
178
+ /**
179
+ * The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace.
180
+ */
181
+ stackSetName?: pulumi.Input<string>;
182
+ }
183
+ /**
184
+ * The set of arguments for constructing a Workspace resource.
185
+ */
186
+ export interface WorkspaceArgs {
187
+ /**
188
+ * The type of account access for the workspace. Valid values are `CURRENT_ACCOUNT` and `ORGANIZATION`. If `ORGANIZATION` is specified, then `organizationalUnits` must also be present.
189
+ */
190
+ accountAccessType: pulumi.Input<string>;
191
+ /**
192
+ * The authentication providers for the workspace. Valid values are `AWS_SSO`, `SAML`, or both.
193
+ */
194
+ authenticationProviders: pulumi.Input<pulumi.Input<string>[]>;
195
+ /**
196
+ * The data sources for the workspace. Valid values are `AMAZON_OPENSEARCH_SERVICE`, `CLOUDWATCH`, `PROMETHEUS`, `XRAY`, `TIMESTREAM`, `SITEWISE`.
197
+ */
198
+ dataSources?: pulumi.Input<pulumi.Input<string>[]>;
199
+ /**
200
+ * The workspace description.
201
+ */
202
+ description?: pulumi.Input<string>;
203
+ /**
204
+ * The Grafana workspace name.
205
+ */
206
+ name?: pulumi.Input<string>;
207
+ /**
208
+ * The notification destinations. If a data source is specified here, Amazon Managed Grafana will create IAM roles and permissions needed to use these destinations. Must be set to `SNS`.
209
+ */
210
+ notificationDestinations?: pulumi.Input<pulumi.Input<string>[]>;
211
+ /**
212
+ * The role name that the workspace uses to access resources through Amazon Organizations.
213
+ */
214
+ organizationRoleName?: pulumi.Input<string>;
215
+ /**
216
+ * The Amazon Organizations organizational units that the workspace is authorized to use data sources from.
217
+ */
218
+ organizationalUnits?: pulumi.Input<pulumi.Input<string>[]>;
219
+ /**
220
+ * The permission type of the workspace. If `SERVICE_MANAGED` is specified, the IAM roles and IAM policy attachments are generated automatically. If `CUSTOMER_MANAGED` is specified, the IAM roles and IAM policy attachments will not be created.
221
+ */
222
+ permissionType: pulumi.Input<string>;
223
+ /**
224
+ * The IAM role ARN that the workspace assumes.
225
+ */
226
+ roleArn?: pulumi.Input<string>;
227
+ /**
228
+ * The AWS CloudFormation stack set name that provisions IAM roles to be used by the workspace.
229
+ */
230
+ stackSetName?: pulumi.Input<string>;
231
+ }
@@ -0,0 +1,123 @@
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.Workspace = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides an Amazon Managed Grafana workspace resource.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic configuration
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const assume = new aws.iam.Role("assume", {assumeRolePolicy: JSON.stringify({
19
+ * Version: "2012-10-17",
20
+ * Statement: [{
21
+ * Action: "sts:AssumeRole",
22
+ * Effect: "Allow",
23
+ * Sid: "",
24
+ * Principal: {
25
+ * Service: "grafana.amazonaws.com",
26
+ * },
27
+ * }],
28
+ * })});
29
+ * const example = new aws.grafana.Workspace("example", {
30
+ * accountAccessType: "CURRENT_ACCOUNT",
31
+ * authenticationProviders: ["SAML"],
32
+ * permissionType: "SERVICE_MANAGED",
33
+ * roleArn: assume.arn,
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * Grafana Workspace can be imported using the workspace's `id`, e.g.,
40
+ *
41
+ * ```sh
42
+ * $ pulumi import aws:grafana/workspace:Workspace example g-2054c75a02
43
+ * ```
44
+ */
45
+ class Workspace extends pulumi.CustomResource {
46
+ constructor(name, argsOrState, opts) {
47
+ let resourceInputs = {};
48
+ opts = opts || {};
49
+ if (opts.id) {
50
+ const state = argsOrState;
51
+ resourceInputs["accountAccessType"] = state ? state.accountAccessType : undefined;
52
+ resourceInputs["arn"] = state ? state.arn : undefined;
53
+ resourceInputs["authenticationProviders"] = state ? state.authenticationProviders : undefined;
54
+ resourceInputs["dataSources"] = state ? state.dataSources : undefined;
55
+ resourceInputs["description"] = state ? state.description : undefined;
56
+ resourceInputs["endpoint"] = state ? state.endpoint : undefined;
57
+ resourceInputs["grafanaVersion"] = state ? state.grafanaVersion : undefined;
58
+ resourceInputs["name"] = state ? state.name : undefined;
59
+ resourceInputs["notificationDestinations"] = state ? state.notificationDestinations : undefined;
60
+ resourceInputs["organizationRoleName"] = state ? state.organizationRoleName : undefined;
61
+ resourceInputs["organizationalUnits"] = state ? state.organizationalUnits : undefined;
62
+ resourceInputs["permissionType"] = state ? state.permissionType : undefined;
63
+ resourceInputs["roleArn"] = state ? state.roleArn : undefined;
64
+ resourceInputs["samlConfigurationStatus"] = state ? state.samlConfigurationStatus : undefined;
65
+ resourceInputs["stackSetName"] = state ? state.stackSetName : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ if ((!args || args.accountAccessType === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'accountAccessType'");
71
+ }
72
+ if ((!args || args.authenticationProviders === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'authenticationProviders'");
74
+ }
75
+ if ((!args || args.permissionType === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'permissionType'");
77
+ }
78
+ resourceInputs["accountAccessType"] = args ? args.accountAccessType : undefined;
79
+ resourceInputs["authenticationProviders"] = args ? args.authenticationProviders : undefined;
80
+ resourceInputs["dataSources"] = args ? args.dataSources : undefined;
81
+ resourceInputs["description"] = args ? args.description : undefined;
82
+ resourceInputs["name"] = args ? args.name : undefined;
83
+ resourceInputs["notificationDestinations"] = args ? args.notificationDestinations : undefined;
84
+ resourceInputs["organizationRoleName"] = args ? args.organizationRoleName : undefined;
85
+ resourceInputs["organizationalUnits"] = args ? args.organizationalUnits : undefined;
86
+ resourceInputs["permissionType"] = args ? args.permissionType : undefined;
87
+ resourceInputs["roleArn"] = args ? args.roleArn : undefined;
88
+ resourceInputs["stackSetName"] = args ? args.stackSetName : undefined;
89
+ resourceInputs["arn"] = undefined /*out*/;
90
+ resourceInputs["endpoint"] = undefined /*out*/;
91
+ resourceInputs["grafanaVersion"] = undefined /*out*/;
92
+ resourceInputs["samlConfigurationStatus"] = undefined /*out*/;
93
+ }
94
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
95
+ super(Workspace.__pulumiType, name, resourceInputs, opts);
96
+ }
97
+ /**
98
+ * Get an existing Workspace resource's state with the given name, ID, and optional extra
99
+ * properties used to qualify the lookup.
100
+ *
101
+ * @param name The _unique_ name of the resulting resource.
102
+ * @param id The _unique_ provider ID of the resource to lookup.
103
+ * @param state Any extra arguments used during the lookup.
104
+ * @param opts Optional settings to control the behavior of the CustomResource.
105
+ */
106
+ static get(name, id, state, opts) {
107
+ return new Workspace(name, state, Object.assign(Object.assign({}, opts), { id: id }));
108
+ }
109
+ /**
110
+ * Returns true if the given object is an instance of Workspace. This is designed to work even
111
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
112
+ */
113
+ static isInstance(obj) {
114
+ if (obj === undefined || obj === null) {
115
+ return false;
116
+ }
117
+ return obj['__pulumiType'] === Workspace.__pulumiType;
118
+ }
119
+ }
120
+ exports.Workspace = Workspace;
121
+ /** @internal */
122
+ Workspace.__pulumiType = 'aws:grafana/workspace:Workspace';
123
+ //# sourceMappingURL=workspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../grafana/workspace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA8FhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,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AQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAgJC;AAlIG,gBAAgB;AACO,sBAAY,GAAG,iCAAiC,CAAC"}
@@ -0,0 +1,242 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides an Amazon Managed Grafana workspace SAML configuration resource.
4
+ *
5
+ * ## Example Usage
6
+ * ### Basic configuration
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const assume = new aws.iam.Role("assume", {assumeRolePolicy: JSON.stringify({
13
+ * Version: "2012-10-17",
14
+ * Statement: [{
15
+ * Action: "sts:AssumeRole",
16
+ * Effect: "Allow",
17
+ * Sid: "",
18
+ * Principal: {
19
+ * Service: "grafana.amazonaws.com",
20
+ * },
21
+ * }],
22
+ * })});
23
+ * const exampleWorkspace = new aws.grafana.Workspace("exampleWorkspace", {
24
+ * accountAccessType: "CURRENT_ACCOUNT",
25
+ * authenticationProviders: ["SAML"],
26
+ * permissionType: "SERVICE_MANAGED",
27
+ * roleArn: assume.arn,
28
+ * });
29
+ * const exampleWorkspaceSamlConfiguration = new aws.grafana.WorkspaceSamlConfiguration("exampleWorkspaceSamlConfiguration", {
30
+ * editorRoleValues: ["editor"],
31
+ * idpMetadataUrl: "https://my_idp_metadata.url",
32
+ * workspaceId: exampleWorkspace.id,
33
+ * });
34
+ * ```
35
+ *
36
+ * ## Import
37
+ *
38
+ * Grafana Workspace SAML configuration can be imported using the workspace's `id`, e.g.,
39
+ *
40
+ * ```sh
41
+ * $ pulumi import aws:grafana/workspaceSamlConfiguration:WorkspaceSamlConfiguration example g-2054c75a02
42
+ * ```
43
+ */
44
+ export declare class WorkspaceSamlConfiguration extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing WorkspaceSamlConfiguration resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceSamlConfigurationState, opts?: pulumi.CustomResourceOptions): WorkspaceSamlConfiguration;
55
+ /**
56
+ * Returns true if the given object is an instance of WorkspaceSamlConfiguration. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj: any): obj is WorkspaceSamlConfiguration;
60
+ /**
61
+ * The admin role values.
62
+ */
63
+ readonly adminRoleValues: pulumi.Output<string[] | undefined>;
64
+ /**
65
+ * The allowed organizations.
66
+ */
67
+ readonly allowedOrganizations: pulumi.Output<string[] | undefined>;
68
+ /**
69
+ * The editor role values.
70
+ */
71
+ readonly editorRoleValues: pulumi.Output<string[]>;
72
+ /**
73
+ * The email assertion.
74
+ */
75
+ readonly emailAssertion: pulumi.Output<string>;
76
+ /**
77
+ * The groups assertion.
78
+ */
79
+ readonly groupsAssertion: pulumi.Output<string | undefined>;
80
+ /**
81
+ * The IDP Metadata URL. Note that either `idpMetadataUrl` or `idpMetadataXml` (but not both) must be specified.
82
+ */
83
+ readonly idpMetadataUrl: pulumi.Output<string | undefined>;
84
+ /**
85
+ * The IDP Metadata XML. Note that either `idpMetadataUrl` or `idpMetadataXml` (but not both) must be specified.
86
+ */
87
+ readonly idpMetadataXml: pulumi.Output<string | undefined>;
88
+ /**
89
+ * The login assertion.
90
+ */
91
+ readonly loginAssertion: pulumi.Output<string>;
92
+ /**
93
+ * The login validity duration.
94
+ */
95
+ readonly loginValidityDuration: pulumi.Output<number>;
96
+ /**
97
+ * The name assertion.
98
+ */
99
+ readonly nameAssertion: pulumi.Output<string>;
100
+ /**
101
+ * The org assertion.
102
+ */
103
+ readonly orgAssertion: pulumi.Output<string | undefined>;
104
+ /**
105
+ * The role assertion.
106
+ */
107
+ readonly roleAssertion: pulumi.Output<string | undefined>;
108
+ /**
109
+ * The status of the SAML configuration.
110
+ */
111
+ readonly status: pulumi.Output<string>;
112
+ /**
113
+ * The workspace id.
114
+ */
115
+ readonly workspaceId: pulumi.Output<string>;
116
+ /**
117
+ * Create a WorkspaceSamlConfiguration resource with the given unique name, arguments, and options.
118
+ *
119
+ * @param name The _unique_ name of the resource.
120
+ * @param args The arguments to use to populate this resource's properties.
121
+ * @param opts A bag of options that control this resource's behavior.
122
+ */
123
+ constructor(name: string, args: WorkspaceSamlConfigurationArgs, opts?: pulumi.CustomResourceOptions);
124
+ }
125
+ /**
126
+ * Input properties used for looking up and filtering WorkspaceSamlConfiguration resources.
127
+ */
128
+ export interface WorkspaceSamlConfigurationState {
129
+ /**
130
+ * The admin role values.
131
+ */
132
+ adminRoleValues?: pulumi.Input<pulumi.Input<string>[]>;
133
+ /**
134
+ * The allowed organizations.
135
+ */
136
+ allowedOrganizations?: pulumi.Input<pulumi.Input<string>[]>;
137
+ /**
138
+ * The editor role values.
139
+ */
140
+ editorRoleValues?: pulumi.Input<pulumi.Input<string>[]>;
141
+ /**
142
+ * The email assertion.
143
+ */
144
+ emailAssertion?: pulumi.Input<string>;
145
+ /**
146
+ * The groups assertion.
147
+ */
148
+ groupsAssertion?: pulumi.Input<string>;
149
+ /**
150
+ * The IDP Metadata URL. Note that either `idpMetadataUrl` or `idpMetadataXml` (but not both) must be specified.
151
+ */
152
+ idpMetadataUrl?: pulumi.Input<string>;
153
+ /**
154
+ * The IDP Metadata XML. Note that either `idpMetadataUrl` or `idpMetadataXml` (but not both) must be specified.
155
+ */
156
+ idpMetadataXml?: pulumi.Input<string>;
157
+ /**
158
+ * The login assertion.
159
+ */
160
+ loginAssertion?: pulumi.Input<string>;
161
+ /**
162
+ * The login validity duration.
163
+ */
164
+ loginValidityDuration?: pulumi.Input<number>;
165
+ /**
166
+ * The name assertion.
167
+ */
168
+ nameAssertion?: pulumi.Input<string>;
169
+ /**
170
+ * The org assertion.
171
+ */
172
+ orgAssertion?: pulumi.Input<string>;
173
+ /**
174
+ * The role assertion.
175
+ */
176
+ roleAssertion?: pulumi.Input<string>;
177
+ /**
178
+ * The status of the SAML configuration.
179
+ */
180
+ status?: pulumi.Input<string>;
181
+ /**
182
+ * The workspace id.
183
+ */
184
+ workspaceId?: pulumi.Input<string>;
185
+ }
186
+ /**
187
+ * The set of arguments for constructing a WorkspaceSamlConfiguration resource.
188
+ */
189
+ export interface WorkspaceSamlConfigurationArgs {
190
+ /**
191
+ * The admin role values.
192
+ */
193
+ adminRoleValues?: pulumi.Input<pulumi.Input<string>[]>;
194
+ /**
195
+ * The allowed organizations.
196
+ */
197
+ allowedOrganizations?: pulumi.Input<pulumi.Input<string>[]>;
198
+ /**
199
+ * The editor role values.
200
+ */
201
+ editorRoleValues: pulumi.Input<pulumi.Input<string>[]>;
202
+ /**
203
+ * The email assertion.
204
+ */
205
+ emailAssertion?: pulumi.Input<string>;
206
+ /**
207
+ * The groups assertion.
208
+ */
209
+ groupsAssertion?: pulumi.Input<string>;
210
+ /**
211
+ * The IDP Metadata URL. Note that either `idpMetadataUrl` or `idpMetadataXml` (but not both) must be specified.
212
+ */
213
+ idpMetadataUrl?: pulumi.Input<string>;
214
+ /**
215
+ * The IDP Metadata XML. Note that either `idpMetadataUrl` or `idpMetadataXml` (but not both) must be specified.
216
+ */
217
+ idpMetadataXml?: pulumi.Input<string>;
218
+ /**
219
+ * The login assertion.
220
+ */
221
+ loginAssertion?: pulumi.Input<string>;
222
+ /**
223
+ * The login validity duration.
224
+ */
225
+ loginValidityDuration?: pulumi.Input<number>;
226
+ /**
227
+ * The name assertion.
228
+ */
229
+ nameAssertion?: pulumi.Input<string>;
230
+ /**
231
+ * The org assertion.
232
+ */
233
+ orgAssertion?: pulumi.Input<string>;
234
+ /**
235
+ * The role assertion.
236
+ */
237
+ roleAssertion?: pulumi.Input<string>;
238
+ /**
239
+ * The workspace id.
240
+ */
241
+ workspaceId: pulumi.Input<string>;
242
+ }