Skip to content

StopInstanceOnIdleRequest

Source code in docs_src/capo_lightsail/types/stop_instance_on_idle_request.py
class StopInstanceOnIdleRequest(TypedDict, closed=True):
    threshold: NotRequired["capo_lightsail.types.string.string"]
    """<p>The value to compare with the duration.</p>"""
    duration: NotRequired["capo_lightsail.types.string.string"]
    """<p>The amount of idle time in minutes after which your virtual computer will automatically stop.</p>"""

duration instance-attribute

duration: NotRequired[string]

The amount of idle time in minutes after which your virtual computer will automatically stop.

threshold instance-attribute

threshold: NotRequired[string]

The value to compare with the duration.