Skip to content

Scale

Source code in docs_src/capo_ecs/types/scale.py
class Scale(TypedDict, closed=True):
    value: "capo_ecs.types.double.Double"
    """<p>The value, specified as a percent total of a service's <code>desiredCount</code>, to scale the task set. Accepted values are numbers between 0 and 100.</p>"""
    unit: NotRequired["capo_ecs.types.scale_unit.ScaleUnit"]
    """<p>The unit of measure for the scale value.</p>"""

unit instance-attribute

unit: NotRequired[ScaleUnit]

The unit of measure for the scale value.

value instance-attribute

value: Double

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.