ExpressGatewayScalingTarget
Defines the auto-scaling configuration for an Express service. This determines how the service automatically adjusts the number of running tasks based on demand metrics such as CPU utilization, memory utilization, or request count per target.
Auto-scaling helps ensure your application can handle varying levels of traffic while optimizing costs by scaling down during low-demand periods. You can specify the minimum and maximum number of tasks, the scaling metric, and the target value for that metric.
Types
Properties
The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization.
The target value for the auto-scaling metric. The default value for an Express service is 60.
The maximum number of tasks to run in the Express service.
The minimum number of tasks to run in the Express service.