Skip to content

EC2  >  Structures  >  InstanceStateChange

InstanceStateChange

Structure Class

InstanceStateChange dataclass

Bases: _SerdeShape

Describes an instance state change.

Attributes

current_state class-attribute instance-attribute
current_state: InstanceState | None = ...

The current state of the instance.

instance_id class-attribute instance-attribute
instance_id: str | None = ...

The ID of the instance.

previous_state class-attribute instance-attribute
previous_state: InstanceState | None = ...

The previous state of the instance.