Skip to content

EC2  >  Structures  >  InstanceStatusEvent

InstanceStatusEvent

Structure Class

InstanceStatusEvent dataclass

Bases: _SerdeShape

Describes a scheduled event for an instance.

Attributes

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

The event code.

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

A description of the event.

After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

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

The ID of the event.

not_after class-attribute instance-attribute
not_after: datetime | None = ...

The latest scheduled end time for the event.

not_before class-attribute instance-attribute
not_before: datetime | None = ...

The earliest scheduled start time for the event.

not_before_deadline class-attribute instance-attribute
not_before_deadline: datetime | None = ...

The deadline for starting the event.