Skip to content

CapacityProviderScalingConfig

Structure Class

CapacityProviderScalingConfig dataclass

Bases: _SerdeShape

Configuration that defines how the capacity provider scales compute instances based on demand and policies.

Attributes

max_v_cpu_count class-attribute instance-attribute
max_v_cpu_count: int | None = ...

The maximum number of vCPUs that the capacity provider can provision across all compute instances.

scaling_mode class-attribute instance-attribute
scaling_mode: str | None = ...

The scaling mode that determines how the capacity provider responds to changes in demand.

scaling_policies class-attribute instance-attribute
scaling_policies: list[TargetTrackingScalingPolicy] | None = ...

A list of scaling policies that define how the capacity provider scales compute instances based on metrics and thresholds.