Values.CreateScraperRequestSourceRepresents the input of a CreateScraper operation.
type nonrec t = {alias : ScraperAlias.t option;(optional) An alias to associate with the scraper. This is for your use, and does not need to be unique.
*)scrapeConfiguration : ScrapeConfiguration.t;The configuration file to use in the new scraper. For more information, see Scraper configuration in the Amazon Managed Service for Prometheus User Guide.
*)source : Source.t;The Amazon EKS or Amazon Web Services cluster from which the scraper will collect metrics.
*)destination : Destination.t;The Amazon Managed Service for Prometheus workspace to send metrics to.
*)roleConfiguration : RoleConfiguration.t option;Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.
*)clientToken : IdempotencyToken.t option;(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.
*)}val make :
?alias:??? ->
?roleConfiguration:??? ->
?clientToken:??? ->
?tags:??? ->
scrapeConfiguration:ScrapeConfiguration.t ->
source:Source.t ->
destination:Destination.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of ScraperAlias.t
| `Structure of
(string
* [> `Blob of Blob.t
| `String of IamRoleArn.t
| `Structure of
(string
* [> `List of [> `String of SecurityGroupId.t ] list
| `String of ClusterArn.t ])
list ])
list ])
list ]