aws_prometheus_scraperNivis 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 tonull)region(defaults tonull)tags(defaults tonull)destination(defaults tonull)exporter(defaults tonull)role_configuration(defaults tonull)source(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnidrole_arntags_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.