Skip to content

InstanceStateChange

Source code in docs_src/capo_ec2/types/instance_state_change.py
class InstanceStateChange(TypedDict, closed=True):
    instance_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the instance.</p>"""
    current_state: NotRequired["capo_ec2.types.instance_state.InstanceState"]
    """<p>The current state of the instance.</p>"""
    previous_state: NotRequired["capo_ec2.types.instance_state.InstanceState"]
    """<p>The previous state of the instance.</p>"""

current_state instance-attribute

current_state: NotRequired[InstanceState]

The current state of the instance.

instance_id instance-attribute

instance_id: NotRequired[String]

The ID of the instance.

previous_state instance-attribute

previous_state: NotRequired[InstanceState]

The previous state of the instance.