CreateScraperRequest
Represents the input of a CreateScraper operation.
Types
Properties
(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.
The destination where the scraper sends the collected metrics. Valid destinations are Amazon Managed Service for Prometheus workspaces and CloudWatch datasets.
The exporter configurations for the scraper. You can configure at most one Amazon OpenSearch Service domain. If you don't specify a value, the scraper is created without an exporter configuration.
Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.
The configuration file to use in the new scraper. For more information, see Scraper configuration in the Amazon Managed Service for Prometheus User Guide.