ExpressGatewayServiceScalingTarget constructor

const ExpressGatewayServiceScalingTarget({
  1. required Input<String> autoScalingMetric,
  2. required Input<int> autoScalingTargetValue,
  3. required Input<int> maxTaskCount,
  4. required Input<int> minTaskCount,
})

Creates a new ExpressGatewayServiceScalingTarget. autoScalingMetric Metric to use for auto-scaling. Valid values are AVERAGE_CPU, AVERAGE_MEMORY and REQUEST_COUNT_PER_TARGET. autoScalingTargetValue Target value for the auto-scaling metric (as a percentage). Defaults to 60. maxTaskCount Maximum number of tasks to run. Defaults to 20. minTaskCount Minimum number of tasks to run. Defaults to 1.

Implementation

const ExpressGatewayServiceScalingTarget({
  required this.autoScalingMetric,
  required this.autoScalingTargetValue,
  required this.maxTaskCount,
  required this.minTaskCount,
});