aws_appautoscaling_targetNivis 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_capacitymin_capacityresource_idscalable_dimensionservice_namespace
Optional arguments
id(defaults tonull)region(defaults tonull)role_arn(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)suspended_state(defaults tonull)
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.