WorkerResource constructor

const WorkerResource({
  1. Input<double>? cpu,
  2. Input<int>? maxCount,
  3. Input<double>? memoryGb,
  4. Input<int>? minCount,
  5. Input<double>? storageGb,
})

Creates a new WorkerResource. cpu Optional. CPU request and limit for a single Airflow worker replica. maxCount Optional. Maximum number of workers for autoscaling. memoryGb Optional. Memory (GB) request and limit for a single Airflow worker replica. minCount Optional. Minimum number of workers for autoscaling. storageGb Optional. Storage (GB) request and limit for a single Airflow worker replica.

Implementation

const WorkerResource({
  this.cpu,
  this.maxCount,
  this.memoryGb,
  this.minCount,
  this.storageGb,
});