ExpressGatewayServiceScalingTarget constructor
const
ExpressGatewayServiceScalingTarget({})
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,
});