aws_prometheus_anomaly_detector

Nivis 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
  • alias
  • workspace_id
Optional arguments
  • evaluation_interval_in_seconds (defaults to null)
  • labels (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • configuration (defaults to null)
  • missing_data_action (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • created_at
  • id
  • tags_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.