Skip to content

InfrastructureOptimization

Source code in docs_src/capo_batch/types/infrastructure_optimization.py
class InfrastructureOptimization(TypedDict, closed=True):
    scale_in_after: NotRequired["capo_batch.types.integer.Integer"]
    """<p>The number of seconds an instance can remain idle before it is terminated. Valid values are <code>-1</code> or <code>0</code> to <code>3600</code>. Use <code>-1</code> as a special value to disable scale-in (instances are never terminated for being idle). If not specified, a default value applies.</p>"""

scale_in_after instance-attribute

scale_in_after: NotRequired[Integer]

The number of seconds an instance can remain idle before it is terminated. Valid values are -1 or 0 to 3600. Use -1 as a special value to disable scale-in (instances are never terminated for being idle). If not specified, a default value applies.