Skip to content

ExpressGatewayScalingTarget

Source code in docs_src/capo_ecs/types/express_gateway_scaling_target.py
class ExpressGatewayScalingTarget(TypedDict, closed=True):
    min_task_count: NotRequired["capo_ecs.types.boxed_integer.BoxedInteger"]
    """<p>The minimum number of tasks to run in the Express service.</p>"""
    max_task_count: NotRequired["capo_ecs.types.boxed_integer.BoxedInteger"]
    """<p>The maximum number of tasks to run in the Express service.</p>"""
    auto_scaling_metric: NotRequired[
        "capo_ecs.types.express_gateway_service_scaling_metric.ExpressGatewayServiceScalingMetric"
    ]
    """<p>The metric used for auto-scaling decisions. The default metric used for an Express service is <code>CPUUtilization</code>.</p>"""
    auto_scaling_target_value: NotRequired["capo_ecs.types.boxed_integer.BoxedInteger"]
    """<p>The target value for the auto-scaling metric. The default value for an Express service is 60.</p>"""

auto_scaling_metric instance-attribute

auto_scaling_metric: NotRequired[ExpressGatewayServiceScalingMetric]

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

auto_scaling_target_value instance-attribute

auto_scaling_target_value: NotRequired[BoxedInteger]

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

max_task_count instance-attribute

max_task_count: NotRequired[BoxedInteger]

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

min_task_count instance-attribute

min_task_count: NotRequired[BoxedInteger]

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