aws_autoscaling_policy

Nivis 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 to null)
  • cooldown (defaults to null)
  • enabled (defaults to null)
  • estimated_instance_warmup (defaults to null)
  • id (defaults to null)
  • metric_aggregation_type (defaults to null)
  • min_adjustment_magnitude (defaults to null)
  • cfg_name (defaults to null)
  • policy_type (defaults to null)
  • region (defaults to null)
  • scaling_adjustment (defaults to null)
  • predictive_scaling_configuration (defaults to null)
  • step_adjustment (defaults to null)
  • target_tracking_configuration (defaults to null)
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.