aws_autoscaling_policyNivis Nix constructor for the aws_autoscaling_policy 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,
autoscaling_group_name,
adjustment_type ? null,
cooldown ? null,
enabled ? null,
estimated_instance_warmup ? null,
id ? null,
metric_aggregation_type ? null,
min_adjustment_magnitude ? null,
cfg_name ? null,
policy_type ? null,
region ? null,
scaling_adjustment ? null,
predictive_scaling_configuration ? null,
step_adjustment ? null,
target_tracking_configuration ? null,
overrides ? {}
}Required arguments
autoscaling_group_name
Optional arguments
adjustment_type(defaults tonull)cooldown(defaults tonull)enabled(defaults tonull)estimated_instance_warmup(defaults tonull)id(defaults tonull)metric_aggregation_type(defaults tonull)min_adjustment_magnitude(defaults tonull)cfg_name(defaults tonull)policy_type(defaults tonull)region(defaults tonull)scaling_adjustment(defaults tonull)predictive_scaling_configuration(defaults tonull)step_adjustment(defaults tonull)target_tracking_configuration(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arn
Example
aws_autoscaling_policy {
name = "autoscaling_policy";
autoscaling_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.