aws_prometheus_anomaly_detectorNivis Nix constructor for the aws_prometheus_anomaly_detector 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,
alias,
workspace_id,
evaluation_interval_in_seconds ? null,
labels ? null,
region ? null,
tags ? null,
configuration ? null,
missing_data_action ? null,
timeouts ? null,
overrides ? {}
}Required arguments
aliasworkspace_id
Optional arguments
evaluation_interval_in_seconds(defaults tonull)labels(defaults tonull)region(defaults tonull)tags(defaults tonull)configuration(defaults tonull)missing_data_action(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arncreated_atidtags_all
Example
aws_prometheus_anomaly_detector {
name = "prometheus_anomaly_detector";
alias = …; # required
workspace_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.