All Products
Search
Document Center

Function Compute (2.0):TargetTrackingPolicies

Last Updated:Mar 03, 2024
ParameterTypeDescriptionExample
object

The configuration of metric-based auto scaling.

namestring

The name of the policy.

test_1
startTimestring

The time when the policy starts to take effect, in UTC.

2020-10-10T10:10:10Z
endTimestring

The end time of the policy, in UTC.

2020-10-10T10:10:10Z
metricTypestring

The type of the tracked metrics:

  • ProvisionedConcurrencyUtilization: the concurrency utilization of provisioned instances
  • CPUUtilization :CPU utilization
  • GPUMemUtilization :GPU utilization
CPUUtilization
metricTargetdouble

The threshold for metric-based auto scaling.

0.6
minCapacitylong

The minimum number of provisioned instances for scale-in.

10
maxCapacitylong

The maximum number of provisioned instances for scale-out.

100