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

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization.

Link copied to clipboard

The target value for the auto-scaling metric. The default value for an Express service is 60.

Link copied to clipboard

The maximum number of tasks to run in the Express service.

Link copied to clipboard

The minimum number of tasks to run in the Express service.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String