Skip to content

InstanceStatusEvent

Source code in docs_src/capo_ec2/types/instance_status_event.py
class InstanceStatusEvent(TypedDict, closed=True):
    instance_event_id: NotRequired["capo_ec2.types.instance_event_id.InstanceEventId"]
    """<p>The ID of the event.</p>"""
    code: NotRequired["capo_ec2.types.event_code.EventCode"]
    """<p>The event code.</p>"""
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>A description of the event.</p> <p>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].</p>"""
    not_after: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The latest scheduled end time for the event.</p>"""
    not_before: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The earliest scheduled start time for the event.</p>"""
    not_before_deadline: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The deadline for starting the event.</p>"""

code instance-attribute

code: NotRequired[EventCode]

The event code.

description instance-attribute

description: NotRequired[String]

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 instance-attribute

instance_event_id: NotRequired[InstanceEventId]

The ID of the event.

not_after instance-attribute

not_after: NotRequired[DateTime]

The latest scheduled end time for the event.

not_before instance-attribute

not_before: NotRequired[DateTime]

The earliest scheduled start time for the event.

not_before_deadline instance-attribute

not_before_deadline: NotRequired[DateTime]

The deadline for starting the event.