FleetTargetCapacitySpecification constructor

const FleetTargetCapacitySpecification({
  1. required Input<String> defaultTargetCapacityType,
  2. Input<int?>? onDemandTargetCapacity,
  3. Input<int?>? spotTargetCapacity,
  4. Input<String?>? targetCapacityUnitType,
  5. required Input<int> totalTargetCapacity,
})

Creates a new FleetTargetCapacitySpecification. defaultTargetCapacityType Default target capacity type. Valid values: on-demand, spot. onDemandTargetCapacity The number of On-Demand units to request. spotTargetCapacity The number of Spot units to request. targetCapacityUnitType The unit for the target capacity. totalTargetCapacity The number of units to request, filled using defaultTargetCapacityType.

Implementation

const FleetTargetCapacitySpecification({
  required this.defaultTargetCapacityType,
  this.onDemandTargetCapacity,
  this.spotTargetCapacity,
  this.targetCapacityUnitType,
  required this.totalTargetCapacity,
});