aws_cloudwatch_log_anomaly_detector

Nivis Nix constructor for the aws_cloudwatch_log_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,
  enabled,
  log_group_arn_list,
  anomaly_visibility_time ? null,
  detector_name ? null,
  evaluation_frequency ? null,
  filter_pattern ? null,
  kms_key_id ? null,
  region ? null,
  tags ? null,
  overrides ? {}
}
Required arguments
  • enabled
  • log_group_arn_list
Optional arguments
  • anomaly_visibility_time (defaults to null)
  • detector_name (defaults to null)
  • evaluation_frequency (defaults to null)
  • filter_pattern (defaults to null)
  • kms_key_id (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • tags_all
Example
aws_cloudwatch_log_anomaly_detector {
  name = "cloudwatch_log_anomaly_detector";
  enabled = …;  # required
  log_group_arn_list = …;  # required
}

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