aws_appautoscaling_target

Nivis Nix constructor for the aws_appautoscaling_target 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,
  max_capacity,
  min_capacity,
  resource_id,
  scalable_dimension,
  service_namespace,
  id ? null,
  region ? null,
  role_arn ? null,
  tags ? null,
  tags_all ? null,
  suspended_state ? null,
  overrides ? {}
}
Required arguments
  • max_capacity
  • min_capacity
  • resource_id
  • scalable_dimension
  • service_namespace
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • role_arn (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • suspended_state (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
Example
aws_appautoscaling_target {
  name = "appautoscaling_target";
  max_capacity = …;  # required
  min_capacity = …;  # required
  resource_id = …;  # required
  scalable_dimension = …;  # required
  service_namespace = …;  # required
}

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