aws_cloudwatch_composite_alarm

Nivis Nix constructor for the aws_cloudwatch_composite_alarm 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,
  alarm_name,
  alarm_rule,
  actions_enabled ? null,
  alarm_actions ? null,
  alarm_description ? null,
  id ? null,
  insufficient_data_actions ? null,
  ok_actions ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  actions_suppressor ? null,
  overrides ? {}
}
Required arguments
  • alarm_name
  • alarm_rule
Optional arguments
  • actions_enabled (defaults to null)
  • alarm_actions (defaults to null)
  • alarm_description (defaults to null)
  • id (defaults to null)
  • insufficient_data_actions (defaults to null)
  • ok_actions (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • actions_suppressor (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
Example
aws_cloudwatch_composite_alarm {
  name = "cloudwatch_composite_alarm";
  alarm_name = …;  # required
  alarm_rule = …;  # required
}

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