Skip to content

InstanceState

Source code in docs_src/capo_lightsail/types/instance_state.py
class InstanceState(TypedDict, closed=True):
    code: NotRequired["capo_lightsail.types.integer.integer"]
    """<p>The status code for the instance.</p>"""
    name: NotRequired["capo_lightsail.types.string.string"]
    """<p>The state of the instance (<code>running</code> or <code>pending</code>).</p>"""

code instance-attribute

code: NotRequired[integer]

The status code for the instance.

name instance-attribute

name: NotRequired[string]

The state of the instance (running or pending).