aws_cloudwatch_metric_alarmNivis Nix constructor for the aws_cloudwatch_metric_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,
actions_enabled ? null,
alarm_actions ? null,
alarm_description ? null,
comparison_operator ? null,
datapoints_to_alarm ? null,
dimensions ? null,
evaluate_low_sample_count_percentiles ? null,
evaluation_interval ? null,
evaluation_periods ? null,
extended_statistic ? null,
id ? null,
insufficient_data_actions ? null,
metric_name ? null,
namespace ? null,
ok_actions ? null,
period ? null,
region ? null,
statistic ? null,
tags ? null,
tags_all ? null,
threshold ? null,
threshold_metric_id ? null,
treat_missing_data ? null,
unit ? null,
evaluation_criteria ? null,
evaluation_window ? null,
metric_query ? null,
warm_up_configuration ? null,
overrides ? {}
}Required arguments
alarm_name
Optional arguments
actions_enabled(defaults tonull)alarm_actions(defaults tonull)alarm_description(defaults tonull)comparison_operator(defaults tonull)datapoints_to_alarm(defaults tonull)dimensions(defaults tonull)evaluate_low_sample_count_percentiles(defaults tonull)evaluation_interval(defaults tonull)evaluation_periods(defaults tonull)extended_statistic(defaults tonull)id(defaults tonull)insufficient_data_actions(defaults tonull)metric_name(defaults tonull)namespace(defaults tonull)ok_actions(defaults tonull)period(defaults tonull)region(defaults tonull)statistic(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)threshold(defaults tonull)threshold_metric_id(defaults tonull)treat_missing_data(defaults tonull)unit(defaults tonull)evaluation_criteria(defaults tonull)evaluation_window(defaults tonull)metric_query(defaults tonull)warm_up_configuration(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arn
Example
aws_cloudwatch_metric_alarm {
name = "cloudwatch_metric_alarm";
alarm_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.