aws_prometheus_scraper

Nivis Nix constructor for the aws_prometheus_scraper resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  scrape_configuration,
  alias ? null,
  region ? null,
  tags ? null,
  destination ? null,
  exporter ? null,
  role_configuration ? null,
  source ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • scrape_configuration
Optional arguments
  • alias (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • destination (defaults to null)
  • exporter (defaults to null)
  • role_configuration (defaults to null)
  • source (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • id
  • role_arn
  • tags_all
Example
aws_prometheus_scraper {
  name = "prometheus_scraper";
  scrape_configuration = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.