@pulumi/aws 7.41.0-alpha.1786020512 → 7.41.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 (430) hide show
  1. package/amp/anomalyDetector.d.ts +264 -0
  2. package/amp/anomalyDetector.d.ts.map +1 -0
  3. package/amp/anomalyDetector.js +186 -0
  4. package/amp/anomalyDetector.js.map +1 -0
  5. package/amp/index.d.ts +6 -0
  6. package/amp/index.d.ts.map +1 -1
  7. package/amp/index.js +11 -1
  8. package/amp/index.js.map +1 -1
  9. package/amp/scraper.d.ts +75 -21
  10. package/amp/scraper.d.ts.map +1 -1
  11. package/amp/scraper.js +41 -2
  12. package/amp/scraper.js.map +1 -1
  13. package/amp/scraperLoggingConfiguration.d.ts +177 -0
  14. package/amp/scraperLoggingConfiguration.d.ts.map +1 -0
  15. package/amp/scraperLoggingConfiguration.js +167 -0
  16. package/amp/scraperLoggingConfiguration.js.map +1 -0
  17. package/apigateway/account.d.ts +6 -6
  18. package/apigateway/apiKey.d.ts +3 -3
  19. package/apigateway/authorizer.d.ts +3 -6
  20. package/apigateway/authorizer.d.ts.map +1 -1
  21. package/apigateway/authorizer.js.map +1 -1
  22. package/apigateway/basePathMapping.d.ts +3 -3
  23. package/apigateway/clientCertificate.d.ts +2 -2
  24. package/apigateway/documentationPart.d.ts +2 -2
  25. package/apigateway/domainNameAccessAssociation.d.ts +9 -9
  26. package/apigateway/integration.d.ts +18 -45
  27. package/apigateway/integration.d.ts.map +1 -1
  28. package/apigateway/integration.js.map +1 -1
  29. package/apigateway/method.d.ts +6 -15
  30. package/apigateway/method.d.ts.map +1 -1
  31. package/apigateway/method.js.map +1 -1
  32. package/apigateway/methodResponse.d.ts +18 -24
  33. package/apigateway/methodResponse.d.ts.map +1 -1
  34. package/apigateway/methodResponse.js.map +1 -1
  35. package/apigateway/stage.d.ts +4 -10
  36. package/apigateway/stage.d.ts.map +1 -1
  37. package/apigateway/stage.js.map +1 -1
  38. package/apigateway/usagePlan.d.ts +11 -11
  39. package/apigateway/vpcLink.d.ts +6 -0
  40. package/apigateway/vpcLink.d.ts.map +1 -1
  41. package/apigateway/vpcLink.js.map +1 -1
  42. package/apigatewayv2/api.d.ts +31 -48
  43. package/apigatewayv2/api.d.ts.map +1 -1
  44. package/apigatewayv2/api.js +2 -0
  45. package/apigatewayv2/api.js.map +1 -1
  46. package/apigatewayv2/apiMapping.d.ts +3 -3
  47. package/apigatewayv2/authorizer.d.ts +24 -60
  48. package/apigatewayv2/authorizer.d.ts.map +1 -1
  49. package/apigatewayv2/authorizer.js.map +1 -1
  50. package/apigatewayv2/getApi.d.ts +3 -3
  51. package/apigatewayv2/integration.d.ts +23 -47
  52. package/apigatewayv2/integration.d.ts.map +1 -1
  53. package/apigatewayv2/integration.js.map +1 -1
  54. package/apigatewayv2/integrationResponse.d.ts +3 -3
  55. package/apigatewayv2/model.d.ts +3 -3
  56. package/apigatewayv2/route.d.ts +15 -24
  57. package/apigatewayv2/route.d.ts.map +1 -1
  58. package/apigatewayv2/route.js.map +1 -1
  59. package/apigatewayv2/routeResponse.d.ts +3 -3
  60. package/apigatewayv2/routingRule.d.ts +3 -3
  61. package/apigatewayv2/stage.d.ts +10 -22
  62. package/apigatewayv2/stage.d.ts.map +1 -1
  63. package/apigatewayv2/stage.js.map +1 -1
  64. package/appautoscaling/target.d.ts +5 -5
  65. package/appconfig/configurationProfile.d.ts +8 -8
  66. package/appconfig/deployment.d.ts +6 -6
  67. package/appconfig/environment.d.ts +2 -4
  68. package/appconfig/environment.d.ts.map +1 -1
  69. package/appconfig/environment.js.map +1 -1
  70. package/appconfig/extension.d.ts +11 -11
  71. package/appconfig/extensionAssociation.d.ts +11 -11
  72. package/appfabric/appAuthorization.d.ts +54 -24
  73. package/appfabric/appAuthorization.d.ts.map +1 -1
  74. package/appfabric/appAuthorization.js.map +1 -1
  75. package/appfabric/appAuthorizationConnection.d.ts +17 -11
  76. package/appfabric/appAuthorizationConnection.d.ts.map +1 -1
  77. package/appfabric/appAuthorizationConnection.js.map +1 -1
  78. package/appfabric/appBundle.d.ts +3 -3
  79. package/appfabric/ingestion.d.ts +3 -6
  80. package/appfabric/ingestion.d.ts.map +1 -1
  81. package/appfabric/ingestion.js.map +1 -1
  82. package/appfabric/ingestionDestination.d.ts +18 -12
  83. package/appfabric/ingestionDestination.d.ts.map +1 -1
  84. package/appfabric/ingestionDestination.js.map +1 -1
  85. package/appflow/connectorProfile.d.ts +24 -18
  86. package/appflow/connectorProfile.d.ts.map +1 -1
  87. package/appflow/connectorProfile.js.map +1 -1
  88. package/appflow/flow.d.ts +23 -23
  89. package/appintegrations/dataIntegration.d.ts +19 -19
  90. package/appintegrations/getEventIntegration.d.ts +6 -6
  91. package/applicationinsights/application.d.ts +6 -6
  92. package/appmesh/route.d.ts +3 -3
  93. package/appmesh/virtualNode.d.ts +3 -3
  94. package/apprunner/autoScalingConfigurationVersion.d.ts +14 -2
  95. package/apprunner/autoScalingConfigurationVersion.d.ts.map +1 -1
  96. package/apprunner/autoScalingConfigurationVersion.js.map +1 -1
  97. package/apprunner/customDomainAssociation.d.ts +2 -2
  98. package/apprunner/defaultAutoScalingConfigurationVersion.d.ts +3 -3
  99. package/apprunner/deployment.d.ts +7 -7
  100. package/apprunner/observabilityConfiguration.d.ts +5 -5
  101. package/apprunner/service.d.ts +20 -26
  102. package/apprunner/service.d.ts.map +1 -1
  103. package/apprunner/service.js.map +1 -1
  104. package/apprunner/vpcConnector.d.ts +2 -2
  105. package/apprunner/vpcIngressConnection.d.ts +15 -15
  106. package/appstream/fleet.d.ts +3 -3
  107. package/appstream/getImage.d.ts +4 -4
  108. package/appstream/stack.d.ts +15 -30
  109. package/appstream/stack.d.ts.map +1 -1
  110. package/appstream/stack.js.map +1 -1
  111. package/appsync/api.d.ts +9 -3
  112. package/appsync/api.d.ts.map +1 -1
  113. package/appsync/api.js.map +1 -1
  114. package/appsync/apiKey.d.ts +6 -0
  115. package/appsync/apiKey.d.ts.map +1 -1
  116. package/appsync/apiKey.js.map +1 -1
  117. package/appsync/channelNamespace.d.ts +9 -9
  118. package/appsync/domainName.d.ts +3 -3
  119. package/appsync/function.d.ts +9 -9
  120. package/appsync/graphQLApi.d.ts +6 -6
  121. package/appsync/resolver.d.ts +15 -15
  122. package/appsync/sourceApiAssociation.d.ts +9 -0
  123. package/appsync/sourceApiAssociation.d.ts.map +1 -1
  124. package/appsync/sourceApiAssociation.js.map +1 -1
  125. package/appsync/type.d.ts +12 -12
  126. package/bedrock/agentcoreMemoryStrategy.d.ts +3 -3
  127. package/directconnect/connection.d.ts +8 -0
  128. package/directconnect/connection.d.ts.map +1 -1
  129. package/directconnect/connection.js +2 -0
  130. package/directconnect/connection.js.map +1 -1
  131. package/ec2/flowLog.d.ts +14 -20
  132. package/ec2/flowLog.d.ts.map +1 -1
  133. package/ec2/flowLog.js.map +1 -1
  134. package/ecs/accountSettingDefault.d.ts +6 -0
  135. package/ecs/accountSettingDefault.d.ts.map +1 -1
  136. package/ecs/accountSettingDefault.js.map +1 -1
  137. package/ecs/expressGatewayService.d.ts +80 -0
  138. package/ecs/expressGatewayService.d.ts.map +1 -1
  139. package/ecs/expressGatewayService.js +62 -0
  140. package/ecs/expressGatewayService.js.map +1 -1
  141. package/ecs/getCluster.d.ts +2 -2
  142. package/ecs/getTaskDefinition.d.ts +3 -3
  143. package/ecs/getTaskExecution.d.ts +23 -23
  144. package/ecs/service.d.ts +5 -5
  145. package/ecs/taskDefinition.d.ts +9 -9
  146. package/ecs/taskSet.d.ts +43 -43
  147. package/elb/appCookieStickinessPolicy.d.ts +6 -15
  148. package/elb/appCookieStickinessPolicy.d.ts.map +1 -1
  149. package/elb/appCookieStickinessPolicy.js.map +1 -1
  150. package/finspace/kxCluster.d.ts +51 -60
  151. package/finspace/kxCluster.d.ts.map +1 -1
  152. package/finspace/kxCluster.js.map +1 -1
  153. package/finspace/kxDataview.d.ts +35 -44
  154. package/finspace/kxDataview.d.ts.map +1 -1
  155. package/finspace/kxDataview.js.map +1 -1
  156. package/finspace/kxEnvironment.d.ts +6 -6
  157. package/finspace/kxEnvironment.d.ts.map +1 -1
  158. package/finspace/kxScalingGroup.d.ts +23 -39
  159. package/finspace/kxScalingGroup.d.ts.map +1 -1
  160. package/finspace/kxScalingGroup.js.map +1 -1
  161. package/finspace/kxUser.d.ts +9 -9
  162. package/finspace/kxUser.d.ts.map +1 -1
  163. package/finspace/kxVolume.d.ts +39 -54
  164. package/finspace/kxVolume.d.ts.map +1 -1
  165. package/finspace/kxVolume.js.map +1 -1
  166. package/fis/experimentTemplate.d.ts +9 -9
  167. package/fis/getExperimentTemplates.d.ts +2 -4
  168. package/fis/getExperimentTemplates.d.ts.map +1 -1
  169. package/fis/getExperimentTemplates.js.map +1 -1
  170. package/fms/adminAccount.d.ts +3 -3
  171. package/fms/policy.d.ts +49 -34
  172. package/fms/policy.d.ts.map +1 -1
  173. package/fms/policy.js.map +1 -1
  174. package/fms/resourceSet.d.ts +12 -3
  175. package/fms/resourceSet.d.ts.map +1 -1
  176. package/fms/resourceSet.js.map +1 -1
  177. package/fsx/backup.d.ts +15 -21
  178. package/fsx/backup.d.ts.map +1 -1
  179. package/fsx/backup.js.map +1 -1
  180. package/fsx/dataRepositoryAssociation.d.ts +23 -20
  181. package/fsx/dataRepositoryAssociation.d.ts.map +1 -1
  182. package/fsx/dataRepositoryAssociation.js.map +1 -1
  183. package/fsx/fileCache.d.ts +48 -51
  184. package/fsx/fileCache.d.ts.map +1 -1
  185. package/fsx/getOntapFileSystem.d.ts +20 -20
  186. package/fsx/getOntapStorageVirtualMachine.d.ts +22 -13
  187. package/fsx/getOntapStorageVirtualMachine.d.ts.map +1 -1
  188. package/fsx/getOntapStorageVirtualMachine.js +4 -0
  189. package/fsx/getOntapStorageVirtualMachine.js.map +1 -1
  190. package/fsx/getOpenZfsSnapshot.d.ts +2 -4
  191. package/fsx/getOpenZfsSnapshot.d.ts.map +1 -1
  192. package/fsx/getOpenZfsSnapshot.js.map +1 -1
  193. package/fsx/getWindowsFileSystem.d.ts +30 -18
  194. package/fsx/getWindowsFileSystem.d.ts.map +1 -1
  195. package/fsx/getWindowsFileSystem.js.map +1 -1
  196. package/fsx/lustreFileSystem.d.ts +55 -61
  197. package/fsx/lustreFileSystem.d.ts.map +1 -1
  198. package/fsx/lustreFileSystem.js.map +1 -1
  199. package/fsx/ontapFileSystem.d.ts +51 -57
  200. package/fsx/ontapFileSystem.d.ts.map +1 -1
  201. package/fsx/ontapFileSystem.js.map +1 -1
  202. package/fsx/ontapStorageVirtualMachine.d.ts +23 -23
  203. package/fsx/ontapVolume.d.ts +65 -65
  204. package/fsx/openZfsFileSystem.d.ts +44 -44
  205. package/fsx/openZfsSnapshot.d.ts +17 -11
  206. package/fsx/openZfsSnapshot.d.ts.map +1 -1
  207. package/fsx/openZfsSnapshot.js.map +1 -1
  208. package/fsx/openZfsVolume.d.ts +38 -29
  209. package/fsx/openZfsVolume.d.ts.map +1 -1
  210. package/fsx/openZfsVolume.js.map +1 -1
  211. package/fsx/windowsFileSystem.d.ts +52 -52
  212. package/glue/catalogTableOptimizer.d.ts +7 -0
  213. package/glue/catalogTableOptimizer.d.ts.map +1 -1
  214. package/glue/catalogTableOptimizer.js +7 -0
  215. package/glue/catalogTableOptimizer.js.map +1 -1
  216. package/iam/user.d.ts +3 -3
  217. package/mailmanager/index.d.ts +3 -0
  218. package/mailmanager/index.d.ts.map +1 -1
  219. package/mailmanager/index.js +6 -1
  220. package/mailmanager/index.js.map +1 -1
  221. package/mailmanager/ruleSet.d.ts +179 -0
  222. package/mailmanager/ruleSet.d.ts.map +1 -0
  223. package/mailmanager/ruleSet.js +130 -0
  224. package/mailmanager/ruleSet.js.map +1 -0
  225. package/odb/cloudAutonomousVmCluster.d.ts +114 -114
  226. package/odb/cloudAutonomousVmCluster.d.ts.map +1 -1
  227. package/odb/cloudExadataInfrastructure.d.ts +86 -86
  228. package/odb/cloudExadataInfrastructure.d.ts.map +1 -1
  229. package/odb/cloudVmCluster.d.ts +117 -119
  230. package/odb/cloudVmCluster.d.ts.map +1 -1
  231. package/odb/cloudVmCluster.js.map +1 -1
  232. package/odb/getCloudAutonomousVmCluster.d.ts +50 -50
  233. package/odb/getCloudExadataInfrastructure.d.ts +44 -38
  234. package/odb/getCloudExadataInfrastructure.d.ts.map +1 -1
  235. package/odb/getCloudExadataInfrastructure.js.map +1 -1
  236. package/odb/getCloudVmCluster.d.ts +49 -40
  237. package/odb/getCloudVmCluster.d.ts.map +1 -1
  238. package/odb/getCloudVmCluster.js.map +1 -1
  239. package/odb/getDbNode.d.ts +32 -29
  240. package/odb/getDbNode.d.ts.map +1 -1
  241. package/odb/getDbNode.js.map +1 -1
  242. package/odb/getDbNodes.d.ts +3 -3
  243. package/odb/getDbServer.d.ts +22 -22
  244. package/odb/getDbServers.d.ts +2 -2
  245. package/odb/getDbSystemShapes.d.ts +3 -3
  246. package/odb/getGiVersions.d.ts +2 -2
  247. package/odb/getNetwork.d.ts +23 -17
  248. package/odb/getNetwork.d.ts.map +1 -1
  249. package/odb/getNetwork.js.map +1 -1
  250. package/odb/getNetworkPeeringConnection.d.ts +3 -3
  251. package/odb/getNetworkPeeringConnections.d.ts +1 -1
  252. package/odb/network.d.ts +72 -72
  253. package/odb/networkPeeringConnection.d.ts +25 -19
  254. package/odb/networkPeeringConnection.d.ts.map +1 -1
  255. package/odb/networkPeeringConnection.js.map +1 -1
  256. package/opensearchingest/resourcePolicy.d.ts +0 -11
  257. package/opensearchingest/resourcePolicy.d.ts.map +1 -1
  258. package/opensearchingest/resourcePolicy.js +0 -11
  259. package/opensearchingest/resourcePolicy.js.map +1 -1
  260. package/package.json +2 -2
  261. package/ram/getResourceShare.d.ts +5 -5
  262. package/ram/permission.d.ts +20 -20
  263. package/ram/principalAssociation.d.ts +6 -6
  264. package/ram/resourceShare.d.ts +19 -19
  265. package/ram/resourceShareAccepter.d.ts +17 -17
  266. package/ram/resourceShareAssociationsExclusive.d.ts +12 -30
  267. package/ram/resourceShareAssociationsExclusive.d.ts.map +1 -1
  268. package/ram/resourceShareAssociationsExclusive.js.map +1 -1
  269. package/rds/getCluster.d.ts +1 -0
  270. package/rds/getCluster.d.ts.map +1 -1
  271. package/rds/getCluster.js.map +1 -1
  272. package/resiliencehub/index.d.ts +3 -0
  273. package/resiliencehub/index.d.ts.map +1 -1
  274. package/resiliencehub/index.js +6 -1
  275. package/resiliencehub/index.js.map +1 -1
  276. package/resiliencehub/v2policy.d.ts +259 -0
  277. package/resiliencehub/v2policy.d.ts.map +1 -0
  278. package/resiliencehub/v2policy.js +172 -0
  279. package/resiliencehub/v2policy.js.map +1 -0
  280. package/s3/accessPoint.d.ts +6 -8
  281. package/s3/accessPoint.d.ts.map +1 -1
  282. package/s3/accessPoint.js.map +1 -1
  283. package/s3/accountPublicAccessBlock.d.ts +12 -27
  284. package/s3/accountPublicAccessBlock.d.ts.map +1 -1
  285. package/s3/accountPublicAccessBlock.js.map +1 -1
  286. package/s3/bucket.d.ts +46 -97
  287. package/s3/bucket.d.ts.map +1 -1
  288. package/s3/bucket.js +2 -2
  289. package/s3/bucket.js.map +1 -1
  290. package/s3/bucketAbac.d.ts +6 -6
  291. package/s3/bucketAbac.d.ts.map +1 -1
  292. package/s3/bucketAcl.d.ts +3 -3
  293. package/s3/bucketAclV2.d.ts +3 -3
  294. package/s3/bucketIntelligentTieringConfiguration.d.ts +9 -9
  295. package/s3/bucketLifecycleConfiguration.d.ts +3 -3
  296. package/s3/bucketLifecycleConfigurationV2.d.ts +3 -3
  297. package/s3/bucketMetric.d.ts +3 -3
  298. package/s3/bucketObject.d.ts +8 -12
  299. package/s3/bucketObject.d.ts.map +1 -1
  300. package/s3/bucketObject.js +2 -0
  301. package/s3/bucketObject.js.map +1 -1
  302. package/s3/bucketObjectLockConfiguration.d.ts +6 -9
  303. package/s3/bucketObjectLockConfiguration.d.ts.map +1 -1
  304. package/s3/bucketObjectLockConfiguration.js.map +1 -1
  305. package/s3/bucketObjectLockConfigurationV2.d.ts +6 -9
  306. package/s3/bucketObjectLockConfigurationV2.d.ts.map +1 -1
  307. package/s3/bucketObjectLockConfigurationV2.js.map +1 -1
  308. package/s3/bucketObjectv2.d.ts +19 -19
  309. package/s3/bucketPublicAccessBlock.d.ts +12 -27
  310. package/s3/bucketPublicAccessBlock.d.ts.map +1 -1
  311. package/s3/bucketPublicAccessBlock.js.map +1 -1
  312. package/s3/bucketReplicationConfig.d.ts +3 -27
  313. package/s3/bucketReplicationConfig.d.ts.map +1 -1
  314. package/s3/bucketReplicationConfig.js.map +1 -1
  315. package/s3/bucketRequestPaymentConfiguration.d.ts +3 -3
  316. package/s3/bucketRequestPaymentConfigurationV2.d.ts +3 -3
  317. package/s3/bucketV2.d.ts +46 -97
  318. package/s3/bucketV2.d.ts.map +1 -1
  319. package/s3/bucketV2.js +2 -2
  320. package/s3/bucketV2.js.map +1 -1
  321. package/s3/bucketWebsiteConfiguration.d.ts +3 -6
  322. package/s3/bucketWebsiteConfiguration.d.ts.map +1 -1
  323. package/s3/bucketWebsiteConfiguration.js.map +1 -1
  324. package/s3/bucketWebsiteConfigurationV2.d.ts +3 -6
  325. package/s3/bucketWebsiteConfigurationV2.d.ts.map +1 -1
  326. package/s3/bucketWebsiteConfigurationV2.js.map +1 -1
  327. package/s3/getAccessPoint.d.ts +1 -1
  328. package/s3/getBucket.d.ts +2 -2
  329. package/s3/getBucketObject.d.ts +14 -5
  330. package/s3/getBucketObject.d.ts.map +1 -1
  331. package/s3/getBucketObject.js.map +1 -1
  332. package/s3/getBucketObjectLockConfiguration.d.ts +1 -1
  333. package/s3/getBucketObjects.d.ts +2 -2
  334. package/s3/getBucketReplicationConfiguration.d.ts +4 -4
  335. package/s3/getObject.d.ts +14 -8
  336. package/s3/getObject.d.ts.map +1 -1
  337. package/s3/getObject.js.map +1 -1
  338. package/s3/inventory.d.ts +18 -12
  339. package/s3/inventory.d.ts.map +1 -1
  340. package/s3/inventory.js.map +1 -1
  341. package/s3/objectCopy.d.ts +76 -67
  342. package/s3/objectCopy.d.ts.map +1 -1
  343. package/s3/objectCopy.js.map +1 -1
  344. package/s3/vectorsIndex.d.ts +8 -8
  345. package/s3/vectorsVectorBucket.d.ts +2 -2
  346. package/s3/vectorsVectorBucketPolicy.d.ts +3 -3
  347. package/s3control/accessGrant.d.ts +19 -19
  348. package/s3control/accessGrantsInstance.d.ts +10 -10
  349. package/s3control/accessGrantsInstanceResourcePolicy.d.ts +6 -6
  350. package/s3control/accessGrantsLocation.d.ts +11 -14
  351. package/s3control/accessGrantsLocation.d.ts.map +1 -1
  352. package/s3control/accessGrantsLocation.js.map +1 -1
  353. package/s3control/accessPointPolicy.d.ts +8 -8
  354. package/s3control/bucket.d.ts +2 -2
  355. package/s3control/bucketLifecycleConfiguration.d.ts +3 -3
  356. package/s3control/directoryBucketAccessPointScope.d.ts +6 -6
  357. package/s3control/getAccessPoints.d.ts +1 -1
  358. package/s3control/getMultiRegionAccessPoint.d.ts +9 -9
  359. package/s3control/multiRegionAccessPoint.d.ts +8 -6
  360. package/s3control/multiRegionAccessPoint.d.ts.map +1 -1
  361. package/s3control/multiRegionAccessPoint.js +2 -0
  362. package/s3control/multiRegionAccessPoint.js.map +1 -1
  363. package/s3control/multiRegionAccessPointPolicy.d.ts +10 -10
  364. package/s3control/objectLambdaAccessPoint.d.ts +9 -9
  365. package/s3control/objectLambdaAccessPointPolicy.d.ts +11 -11
  366. package/s3control/storageLensConfiguration.d.ts +11 -11
  367. package/s3outposts/endpoint.d.ts +3 -3
  368. package/s3tables/namespace.d.ts +3 -9
  369. package/s3tables/namespace.d.ts.map +1 -1
  370. package/s3tables/namespace.js.map +1 -1
  371. package/s3tables/table.d.ts +22 -51
  372. package/s3tables/table.d.ts.map +1 -1
  373. package/s3tables/table.js.map +1 -1
  374. package/s3tables/tableBucket.d.ts +11 -26
  375. package/s3tables/tableBucket.d.ts.map +1 -1
  376. package/s3tables/tableBucket.js.map +1 -1
  377. package/s3tables/tableBucketReplication.d.ts +6 -0
  378. package/s3tables/tableBucketReplication.d.ts.map +1 -1
  379. package/s3tables/tableBucketReplication.js.map +1 -1
  380. package/s3tables/tablePolicy.d.ts +6 -18
  381. package/s3tables/tablePolicy.d.ts.map +1 -1
  382. package/s3tables/tablePolicy.js.map +1 -1
  383. package/s3tables/tableReplication.d.ts +6 -0
  384. package/s3tables/tableReplication.d.ts.map +1 -1
  385. package/s3tables/tableReplication.js.map +1 -1
  386. package/secretsmanager/getRandomPassword.d.ts +12 -12
  387. package/secretsmanager/getSecretRotation.d.ts +3 -3
  388. package/secretsmanager/getSecretVersion.d.ts +11 -9
  389. package/secretsmanager/getSecretVersion.d.ts.map +1 -1
  390. package/secretsmanager/getSecretVersion.js.map +1 -1
  391. package/secretsmanager/getSecretVersions.d.ts +7 -13
  392. package/secretsmanager/getSecretVersions.d.ts.map +1 -1
  393. package/secretsmanager/getSecretVersions.js.map +1 -1
  394. package/secretsmanager/secret.d.ts +3 -3
  395. package/secretsmanager/secretRotation.d.ts +14 -14
  396. package/secretsmanager/secretVersion.d.ts +27 -23
  397. package/secretsmanager/secretVersion.d.ts.map +1 -1
  398. package/secretsmanager/secretVersion.js.map +1 -1
  399. package/types/input.d.ts +2362 -1622
  400. package/types/input.d.ts.map +1 -1
  401. package/types/input.js.map +1 -1
  402. package/types/output.d.ts +2463 -1740
  403. package/types/output.d.ts.map +1 -1
  404. package/types/output.js.map +1 -1
  405. package/vpclattice/accessLogSubscription.d.ts +12 -3
  406. package/vpclattice/accessLogSubscription.d.ts.map +1 -1
  407. package/vpclattice/accessLogSubscription.js.map +1 -1
  408. package/vpclattice/authPolicy.d.ts +9 -9
  409. package/vpclattice/domainVerification.d.ts +15 -15
  410. package/vpclattice/getAuthPolicy.d.ts +8 -8
  411. package/vpclattice/getListener.d.ts +9 -9
  412. package/vpclattice/getServiceNetwork.d.ts +9 -0
  413. package/vpclattice/getServiceNetwork.d.ts.map +1 -1
  414. package/vpclattice/getServiceNetwork.js.map +1 -1
  415. package/vpclattice/listener.d.ts +9 -3
  416. package/vpclattice/listener.d.ts.map +1 -1
  417. package/vpclattice/listener.js.map +1 -1
  418. package/vpclattice/listenerRule.d.ts +26 -32
  419. package/vpclattice/listenerRule.d.ts.map +1 -1
  420. package/vpclattice/listenerRule.js.map +1 -1
  421. package/vpclattice/resourceConfiguration.d.ts +3 -3
  422. package/vpclattice/resourceGateway.d.ts +6 -6
  423. package/vpclattice/resourcePolicy.d.ts +6 -6
  424. package/vpclattice/serviceNetworkResourceAssociation.d.ts +3 -3
  425. package/vpclattice/serviceNetworkServiceAssociation.d.ts +16 -16
  426. package/vpclattice/serviceNetworkVpcAssociation.d.ts +15 -18
  427. package/vpclattice/serviceNetworkVpcAssociation.d.ts.map +1 -1
  428. package/vpclattice/serviceNetworkVpcAssociation.js.map +1 -1
  429. package/vpclattice/targetGroup.d.ts +9 -9
  430. package/vpclattice/targetGroupAttachment.d.ts +6 -6
package/amp/scraper.d.ts CHANGED
@@ -88,6 +88,34 @@ import * as outputs from "../types/output";
88
88
  * });
89
89
  * ```
90
90
  *
91
+ * ### CloudWatch Destination
92
+ *
93
+ * ```typescript
94
+ * import * as pulumi from "@pulumi/pulumi";
95
+ * import * as aws from "@pulumi/aws";
96
+ *
97
+ * const example = new aws.amp.Scraper("example", {
98
+ * source: {
99
+ * eks: {
100
+ * clusterArn: exampleAwsEksCluster.arn,
101
+ * subnetIds: exampleAwsEksCluster.vpcConfig[0].subnetIds,
102
+ * },
103
+ * },
104
+ * destination: {
105
+ * cloudwatch: {
106
+ * datasetArn: "arn:aws:cloudwatch:us-west-2:123456789012:dataset/default",
107
+ * },
108
+ * },
109
+ * scrapeConfiguration: `global:
110
+ * scrape_interval: 30s
111
+ * scrape_configs:
112
+ * - job_name: pod_exporter
113
+ * kubernetes_sd_configs:
114
+ * - role: pod
115
+ * `,
116
+ * });
117
+ * ```
118
+ *
91
119
  * ### VPC Configuration
92
120
  *
93
121
  * ```typescript
@@ -227,11 +255,22 @@ import * as outputs from "../types/output";
227
255
  *
228
256
  * ## Import
229
257
  *
230
- * Using `pulumi import`, import the Managed Scraper using its identifier.
258
+ * ### Identity Schema
259
+ *
260
+ * #### Required
261
+ *
262
+ * * `id` (String) ID of the scraper.
263
+ *
264
+ * #### Optional
265
+ *
266
+ * * `accountId` (String) AWS Account where this resource is managed.
267
+ * * `region` (String) Region where this resource is managed.
268
+ *
269
+ * Using `pulumi import`, import scrapers using `id`.
231
270
  * For example:
232
271
  *
233
272
  * ```sh
234
- * $ pulumi import aws:amp/scraper:Scraper example s-0123abc-0000-0123-a000-000000000000
273
+ * $ pulumi import aws:amp/scraper:Scraper example s-b6f487db-4761-4930-9215-e9d588a7efe2
235
274
  * ```
236
275
  */
237
276
  export declare class Scraper extends pulumi.CustomResource {
@@ -251,15 +290,15 @@ export declare class Scraper extends pulumi.CustomResource {
251
290
  */
252
291
  static isInstance(obj: any): obj is Scraper;
253
292
  /**
254
- * a name to associate with the managed scraper. This is for your use, and does not need to be unique.
293
+ * Name to associate with the managed scraper. This is for your use, and does not need to be unique.
255
294
  */
256
295
  readonly alias: pulumi.Output<string | undefined>;
257
296
  /**
258
- * The Amazon Resource Name (ARN) of the new scraper.
297
+ * ARN of the scraper.
259
298
  */
260
299
  readonly arn: pulumi.Output<string>;
261
300
  /**
262
- * Configuration block for the managed scraper to send metrics to. See `destination`.
301
+ * Configuration block for the managed scraper to send metrics to. See `destination` Block for details.
263
302
  */
264
303
  readonly destination: pulumi.Output<outputs.amp.ScraperDestination>;
265
304
  /**
@@ -267,26 +306,32 @@ export declare class Scraper extends pulumi.CustomResource {
267
306
  */
268
307
  readonly region: pulumi.Output<string>;
269
308
  /**
270
- * The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics
309
+ * ARN of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics
271
310
  */
272
311
  readonly roleArn: pulumi.Output<string>;
273
312
  /**
274
- * Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` below.
313
+ * Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` Block for details.
275
314
  */
276
315
  readonly roleConfiguration: pulumi.Output<outputs.amp.ScraperRoleConfiguration | undefined>;
277
316
  /**
278
- * The configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
317
+ * Configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
279
318
  */
280
319
  readonly scrapeConfiguration: pulumi.Output<string>;
281
320
  /**
282
- * Configuration block to specify where the managed scraper will collect metrics from. See `source`.
321
+ * Configuration block to specify where the managed scraper will collect metrics from. See `source` Block for details.
283
322
  *
284
323
  * The following arguments are optional:
285
324
  */
286
325
  readonly source: pulumi.Output<outputs.amp.ScraperSource | undefined>;
326
+ /**
327
+ * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
328
+ */
287
329
  readonly tags: pulumi.Output<{
288
330
  [key: string]: string;
289
331
  } | undefined>;
332
+ /**
333
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
334
+ */
290
335
  readonly tagsAll: pulumi.Output<{
291
336
  [key: string]: string;
292
337
  }>;
@@ -305,15 +350,15 @@ export declare class Scraper extends pulumi.CustomResource {
305
350
  */
306
351
  export interface ScraperState {
307
352
  /**
308
- * a name to associate with the managed scraper. This is for your use, and does not need to be unique.
353
+ * Name to associate with the managed scraper. This is for your use, and does not need to be unique.
309
354
  */
310
355
  alias?: pulumi.Input<string | undefined>;
311
356
  /**
312
- * The Amazon Resource Name (ARN) of the new scraper.
357
+ * ARN of the scraper.
313
358
  */
314
359
  arn?: pulumi.Input<string | undefined>;
315
360
  /**
316
- * Configuration block for the managed scraper to send metrics to. See `destination`.
361
+ * Configuration block for the managed scraper to send metrics to. See `destination` Block for details.
317
362
  */
318
363
  destination?: pulumi.Input<inputs.amp.ScraperDestination | undefined>;
319
364
  /**
@@ -321,26 +366,32 @@ export interface ScraperState {
321
366
  */
322
367
  region?: pulumi.Input<string | undefined>;
323
368
  /**
324
- * The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics
369
+ * ARN of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics
325
370
  */
326
371
  roleArn?: pulumi.Input<string | undefined>;
327
372
  /**
328
- * Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` below.
373
+ * Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` Block for details.
329
374
  */
330
375
  roleConfiguration?: pulumi.Input<inputs.amp.ScraperRoleConfiguration | undefined>;
331
376
  /**
332
- * The configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
377
+ * Configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
333
378
  */
334
379
  scrapeConfiguration?: pulumi.Input<string | undefined>;
335
380
  /**
336
- * Configuration block to specify where the managed scraper will collect metrics from. See `source`.
381
+ * Configuration block to specify where the managed scraper will collect metrics from. See `source` Block for details.
337
382
  *
338
383
  * The following arguments are optional:
339
384
  */
340
385
  source?: pulumi.Input<inputs.amp.ScraperSource | undefined>;
386
+ /**
387
+ * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
388
+ */
341
389
  tags?: pulumi.Input<{
342
390
  [key: string]: pulumi.Input<string>;
343
391
  } | undefined>;
392
+ /**
393
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
394
+ */
344
395
  tagsAll?: pulumi.Input<{
345
396
  [key: string]: pulumi.Input<string>;
346
397
  } | undefined>;
@@ -351,11 +402,11 @@ export interface ScraperState {
351
402
  */
352
403
  export interface ScraperArgs {
353
404
  /**
354
- * a name to associate with the managed scraper. This is for your use, and does not need to be unique.
405
+ * Name to associate with the managed scraper. This is for your use, and does not need to be unique.
355
406
  */
356
407
  alias?: pulumi.Input<string | undefined>;
357
408
  /**
358
- * Configuration block for the managed scraper to send metrics to. See `destination`.
409
+ * Configuration block for the managed scraper to send metrics to. See `destination` Block for details.
359
410
  */
360
411
  destination: pulumi.Input<inputs.amp.ScraperDestination>;
361
412
  /**
@@ -363,19 +414,22 @@ export interface ScraperArgs {
363
414
  */
364
415
  region?: pulumi.Input<string | undefined>;
365
416
  /**
366
- * Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` below.
417
+ * Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` Block for details.
367
418
  */
368
419
  roleConfiguration?: pulumi.Input<inputs.amp.ScraperRoleConfiguration | undefined>;
369
420
  /**
370
- * The configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
421
+ * Configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
371
422
  */
372
423
  scrapeConfiguration: pulumi.Input<string>;
373
424
  /**
374
- * Configuration block to specify where the managed scraper will collect metrics from. See `source`.
425
+ * Configuration block to specify where the managed scraper will collect metrics from. See `source` Block for details.
375
426
  *
376
427
  * The following arguments are optional:
377
428
  */
378
429
  source?: pulumi.Input<inputs.amp.ScraperSource | undefined>;
430
+ /**
431
+ * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
432
+ */
379
433
  tags?: pulumi.Input<{
380
434
  [key: string]: pulumi.Input<string>;
381
435
  } | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"scraper.d.ts","sourceRoot":"","sources":["../../amp/scraper.ts"],"names":[],"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M,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;CACnE;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAClF;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;CACnE"}
package/amp/scraper.js CHANGED
@@ -115,6 +115,34 @@ const utilities = __importStar(require("../utilities"));
115
115
  * });
116
116
  * ```
117
117
  *
118
+ * ### CloudWatch Destination
119
+ *
120
+ * ```typescript
121
+ * import * as pulumi from "@pulumi/pulumi";
122
+ * import * as aws from "@pulumi/aws";
123
+ *
124
+ * const example = new aws.amp.Scraper("example", {
125
+ * source: {
126
+ * eks: {
127
+ * clusterArn: exampleAwsEksCluster.arn,
128
+ * subnetIds: exampleAwsEksCluster.vpcConfig[0].subnetIds,
129
+ * },
130
+ * },
131
+ * destination: {
132
+ * cloudwatch: {
133
+ * datasetArn: "arn:aws:cloudwatch:us-west-2:123456789012:dataset/default",
134
+ * },
135
+ * },
136
+ * scrapeConfiguration: `global:
137
+ * scrape_interval: 30s
138
+ * scrape_configs:
139
+ * - job_name: pod_exporter
140
+ * kubernetes_sd_configs:
141
+ * - role: pod
142
+ * `,
143
+ * });
144
+ * ```
145
+ *
118
146
  * ### VPC Configuration
119
147
  *
120
148
  * ```typescript
@@ -254,11 +282,22 @@ const utilities = __importStar(require("../utilities"));
254
282
  *
255
283
  * ## Import
256
284
  *
257
- * Using `pulumi import`, import the Managed Scraper using its identifier.
285
+ * ### Identity Schema
286
+ *
287
+ * #### Required
288
+ *
289
+ * * `id` (String) ID of the scraper.
290
+ *
291
+ * #### Optional
292
+ *
293
+ * * `accountId` (String) AWS Account where this resource is managed.
294
+ * * `region` (String) Region where this resource is managed.
295
+ *
296
+ * Using `pulumi import`, import scrapers using `id`.
258
297
  * For example:
259
298
  *
260
299
  * ```sh
261
- * $ pulumi import aws:amp/scraper:Scraper example s-0123abc-0000-0123-a000-000000000000
300
+ * $ pulumi import aws:amp/scraper:Scraper example s-b6f487db-4761-4930-9215-e9d588a7efe2
262
301
  * ```
263
302
  */
264
303
  class Scraper extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"scraper.js","sourceRoot":"","sources":["../../amp/scraper.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,IAAI,EAAE,mBAAmB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;aACtE;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAtHL,0BAuHC"}
@@ -0,0 +1,177 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages an Amazon Managed Service for Prometheus (AMP) Scraper Logging Configuration.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const example = new aws.amp.Scraper("example", {
16
+ * source: {
17
+ * eks: {
18
+ * clusterArn: exampleAwsEksCluster.arn,
19
+ * subnetIds: exampleAwsSubnet.map(__item => __item.id),
20
+ * },
21
+ * },
22
+ * destination: {
23
+ * amp: {
24
+ * workspaceArn: exampleAwsPrometheusWorkspace.arn,
25
+ * },
26
+ * },
27
+ * scrapeConfiguration: `global:
28
+ * scrape_interval: 15s
29
+ * scrape_configs:
30
+ * - job_name: 'prometheus'
31
+ * static_configs:
32
+ * - targets: ['localhost:9090']
33
+ * `,
34
+ * });
35
+ * const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/scraper-logs/example"});
36
+ * const exampleScraperLoggingConfiguration = new aws.amp.ScraperLoggingConfiguration("example", {
37
+ * scraperId: example.id,
38
+ * loggingDestination: {
39
+ * cloudwatchLogs: {
40
+ * logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
41
+ * },
42
+ * },
43
+ * });
44
+ * ```
45
+ *
46
+ * ### With Scraper Components
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as aws from "@pulumi/aws";
51
+ *
52
+ * const example = new aws.amp.ScraperLoggingConfiguration("example", {
53
+ * scraperId: exampleAwsPrometheusScraper.id,
54
+ * scraperComponents: [
55
+ * "COLLECTOR",
56
+ * "EXPORTER",
57
+ * ],
58
+ * loggingDestination: {
59
+ * cloudwatchLogs: {
60
+ * logGroupArn: `${exampleAwsCloudwatchLogGroup.arn}:*`,
61
+ * },
62
+ * },
63
+ * });
64
+ * ```
65
+ *
66
+ * ## Import
67
+ *
68
+ * ### Identity Schema
69
+ *
70
+ * #### Required
71
+ *
72
+ * * `scraperId` (String) ID of the scraper.
73
+ *
74
+ * #### Optional
75
+ *
76
+ * * `accountId` (String) AWS Account where this resource is managed.
77
+ * * `region` (String) Region where this resource is managed.
78
+ *
79
+ * Using `pulumi import`, import scraper logging configurations using `scraperId`. For example:
80
+ *
81
+ * ```sh
82
+ * $ pulumi import aws:amp/scraperLoggingConfiguration:ScraperLoggingConfiguration example s-b6f487db-4761-4930-9215-e9d588a7efe2
83
+ * ```
84
+ */
85
+ export declare class ScraperLoggingConfiguration extends pulumi.CustomResource {
86
+ /**
87
+ * Get an existing ScraperLoggingConfiguration resource's state with the given name, ID, and optional extra
88
+ * properties used to qualify the lookup.
89
+ *
90
+ * @param name The _unique_ name of the resulting resource.
91
+ * @param id The _unique_ provider ID of the resource to lookup.
92
+ * @param state Any extra arguments used during the lookup.
93
+ * @param opts Optional settings to control the behavior of the CustomResource.
94
+ */
95
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScraperLoggingConfigurationState, opts?: pulumi.CustomResourceOptions): ScraperLoggingConfiguration;
96
+ /**
97
+ * Returns true if the given object is an instance of ScraperLoggingConfiguration. This is designed to work even
98
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
99
+ */
100
+ static isInstance(obj: any): obj is ScraperLoggingConfiguration;
101
+ /**
102
+ * Configuration block for the logging destination. See `loggingDestination` Block below.
103
+ */
104
+ readonly loggingDestination: pulumi.Output<outputs.amp.ScraperLoggingConfigurationLoggingDestination>;
105
+ /**
106
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
107
+ */
108
+ readonly region: pulumi.Output<string>;
109
+ /**
110
+ * Scraper components to log. Valid values: `COLLECTOR`, `EXPORTER`, `SERVICE_DISCOVERY`.
111
+ */
112
+ readonly scraperComponents: pulumi.Output<string[]>;
113
+ /**
114
+ * ID of the scraper to configure logging for.
115
+ *
116
+ * The following arguments are optional:
117
+ */
118
+ readonly scraperId: pulumi.Output<string>;
119
+ readonly timeouts: pulumi.Output<outputs.amp.ScraperLoggingConfigurationTimeouts | undefined>;
120
+ /**
121
+ * Create a ScraperLoggingConfiguration resource with the given unique name, arguments, and options.
122
+ *
123
+ * @param name The _unique_ name of the resource.
124
+ * @param args The arguments to use to populate this resource's properties.
125
+ * @param opts A bag of options that control this resource's behavior.
126
+ */
127
+ constructor(name: string, args: ScraperLoggingConfigurationArgs, opts?: pulumi.CustomResourceOptions);
128
+ }
129
+ /**
130
+ * Input properties used for looking up and filtering ScraperLoggingConfiguration resources.
131
+ */
132
+ export interface ScraperLoggingConfigurationState {
133
+ /**
134
+ * Configuration block for the logging destination. See `loggingDestination` Block below.
135
+ */
136
+ loggingDestination?: pulumi.Input<inputs.amp.ScraperLoggingConfigurationLoggingDestination | undefined>;
137
+ /**
138
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
139
+ */
140
+ region?: pulumi.Input<string | undefined>;
141
+ /**
142
+ * Scraper components to log. Valid values: `COLLECTOR`, `EXPORTER`, `SERVICE_DISCOVERY`.
143
+ */
144
+ scraperComponents?: pulumi.Input<pulumi.Input<string>[] | undefined>;
145
+ /**
146
+ * ID of the scraper to configure logging for.
147
+ *
148
+ * The following arguments are optional:
149
+ */
150
+ scraperId?: pulumi.Input<string | undefined>;
151
+ timeouts?: pulumi.Input<inputs.amp.ScraperLoggingConfigurationTimeouts | undefined>;
152
+ }
153
+ /**
154
+ * The set of arguments for constructing a ScraperLoggingConfiguration resource.
155
+ */
156
+ export interface ScraperLoggingConfigurationArgs {
157
+ /**
158
+ * Configuration block for the logging destination. See `loggingDestination` Block below.
159
+ */
160
+ loggingDestination: pulumi.Input<inputs.amp.ScraperLoggingConfigurationLoggingDestination>;
161
+ /**
162
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
163
+ */
164
+ region?: pulumi.Input<string | undefined>;
165
+ /**
166
+ * Scraper components to log. Valid values: `COLLECTOR`, `EXPORTER`, `SERVICE_DISCOVERY`.
167
+ */
168
+ scraperComponents?: pulumi.Input<pulumi.Input<string>[] | undefined>;
169
+ /**
170
+ * ID of the scraper to configure logging for.
171
+ *
172
+ * The following arguments are optional:
173
+ */
174
+ scraperId: pulumi.Input<string>;
175
+ timeouts?: pulumi.Input<inputs.amp.ScraperLoggingConfigurationTimeouts | undefined>;
176
+ }
177
+ //# sourceMappingURL=scraperLoggingConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scraperLoggingConfiguration.d.ts","sourceRoot":"","sources":["../../amp/scraperLoggingConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,qBAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,2BAA2B;IAOxK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,2BAA2B;IAOtE;;OAEG;IACH,SAAwB,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,6CAA6C,CAAC,CAAC;IACrH;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EA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AM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACrE;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;CACvF"}
@@ -0,0 +1,167 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.ScraperLoggingConfiguration = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Manages an Amazon Managed Service for Prometheus (AMP) Scraper Logging Configuration.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ### Basic Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as aws from "@pulumi/aws";
41
+ *
42
+ * const example = new aws.amp.Scraper("example", {
43
+ * source: {
44
+ * eks: {
45
+ * clusterArn: exampleAwsEksCluster.arn,
46
+ * subnetIds: exampleAwsSubnet.map(__item => __item.id),
47
+ * },
48
+ * },
49
+ * destination: {
50
+ * amp: {
51
+ * workspaceArn: exampleAwsPrometheusWorkspace.arn,
52
+ * },
53
+ * },
54
+ * scrapeConfiguration: `global:
55
+ * scrape_interval: 15s
56
+ * scrape_configs:
57
+ * - job_name: 'prometheus'
58
+ * static_configs:
59
+ * - targets: ['localhost:9090']
60
+ * `,
61
+ * });
62
+ * const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/scraper-logs/example"});
63
+ * const exampleScraperLoggingConfiguration = new aws.amp.ScraperLoggingConfiguration("example", {
64
+ * scraperId: example.id,
65
+ * loggingDestination: {
66
+ * cloudwatchLogs: {
67
+ * logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
68
+ * },
69
+ * },
70
+ * });
71
+ * ```
72
+ *
73
+ * ### With Scraper Components
74
+ *
75
+ * ```typescript
76
+ * import * as pulumi from "@pulumi/pulumi";
77
+ * import * as aws from "@pulumi/aws";
78
+ *
79
+ * const example = new aws.amp.ScraperLoggingConfiguration("example", {
80
+ * scraperId: exampleAwsPrometheusScraper.id,
81
+ * scraperComponents: [
82
+ * "COLLECTOR",
83
+ * "EXPORTER",
84
+ * ],
85
+ * loggingDestination: {
86
+ * cloudwatchLogs: {
87
+ * logGroupArn: `${exampleAwsCloudwatchLogGroup.arn}:*`,
88
+ * },
89
+ * },
90
+ * });
91
+ * ```
92
+ *
93
+ * ## Import
94
+ *
95
+ * ### Identity Schema
96
+ *
97
+ * #### Required
98
+ *
99
+ * * `scraperId` (String) ID of the scraper.
100
+ *
101
+ * #### Optional
102
+ *
103
+ * * `accountId` (String) AWS Account where this resource is managed.
104
+ * * `region` (String) Region where this resource is managed.
105
+ *
106
+ * Using `pulumi import`, import scraper logging configurations using `scraperId`. For example:
107
+ *
108
+ * ```sh
109
+ * $ pulumi import aws:amp/scraperLoggingConfiguration:ScraperLoggingConfiguration example s-b6f487db-4761-4930-9215-e9d588a7efe2
110
+ * ```
111
+ */
112
+ class ScraperLoggingConfiguration extends pulumi.CustomResource {
113
+ /**
114
+ * Get an existing ScraperLoggingConfiguration resource's state with the given name, ID, and optional extra
115
+ * properties used to qualify the lookup.
116
+ *
117
+ * @param name The _unique_ name of the resulting resource.
118
+ * @param id The _unique_ provider ID of the resource to lookup.
119
+ * @param state Any extra arguments used during the lookup.
120
+ * @param opts Optional settings to control the behavior of the CustomResource.
121
+ */
122
+ static get(name, id, state, opts) {
123
+ return new ScraperLoggingConfiguration(name, state, { ...opts, id: id });
124
+ }
125
+ /** @internal */
126
+ static __pulumiType = 'aws:amp/scraperLoggingConfiguration:ScraperLoggingConfiguration';
127
+ /**
128
+ * Returns true if the given object is an instance of ScraperLoggingConfiguration. This is designed to work even
129
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
130
+ */
131
+ static isInstance(obj) {
132
+ if (obj === undefined || obj === null) {
133
+ return false;
134
+ }
135
+ return obj['__pulumiType'] === ScraperLoggingConfiguration.__pulumiType;
136
+ }
137
+ constructor(name, argsOrState, opts) {
138
+ let resourceInputs = {};
139
+ opts = opts || {};
140
+ if (opts.id) {
141
+ const state = argsOrState;
142
+ resourceInputs["loggingDestination"] = state?.loggingDestination;
143
+ resourceInputs["region"] = state?.region;
144
+ resourceInputs["scraperComponents"] = state?.scraperComponents;
145
+ resourceInputs["scraperId"] = state?.scraperId;
146
+ resourceInputs["timeouts"] = state?.timeouts;
147
+ }
148
+ else {
149
+ const args = argsOrState;
150
+ if (args?.loggingDestination === undefined && !opts.urn) {
151
+ throw new Error("Missing required property 'loggingDestination'");
152
+ }
153
+ if (args?.scraperId === undefined && !opts.urn) {
154
+ throw new Error("Missing required property 'scraperId'");
155
+ }
156
+ resourceInputs["loggingDestination"] = args?.loggingDestination;
157
+ resourceInputs["region"] = args?.region;
158
+ resourceInputs["scraperComponents"] = args?.scraperComponents;
159
+ resourceInputs["scraperId"] = args?.scraperId;
160
+ resourceInputs["timeouts"] = args?.timeouts;
161
+ }
162
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
163
+ super(ScraperLoggingConfiguration.__pulumiType, name, resourceInputs, opts);
164
+ }
165
+ }
166
+ exports.ScraperLoggingConfiguration = ScraperLoggingConfiguration;
167
+ //# sourceMappingURL=scraperLoggingConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scraperLoggingConfiguration.js","sourceRoot":"","sources":["../../amp/scraperLoggingConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,iEAAiE,CAAC;IAExG;;;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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;IA8BD,YAAY,IAAY,EAAE,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