Skip to content

InstanceFleetStatus

Source code in docs_src/capo_emr/types/instance_fleet_status.py
class InstanceFleetStatus(TypedDict, closed=True):
    state: NotRequired["capo_emr.types.instance_fleet_state.InstanceFleetState"]
    """<p>A code representing the instance fleet status.</p> <ul> <li> <p> <code>PROVISIONING</code>—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs.</p> </li> <li> <p> <code>BOOTSTRAPPING</code>—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.</p> </li> <li> <p> <code>RUNNING</code>—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.</p> </li> <li> <p> <code>RESIZING</code>—A resize operation is underway. Amazon EC2 instances are either being added or removed.</p> </li> <li> <p> <code>SUSPENDED</code>—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed.</p> </li> <li> <p> <code>TERMINATING</code>—The instance fleet is terminating Amazon EC2 instances.</p> </li> <li> <p> <code>TERMINATED</code>—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.</p> </li> </ul>"""
    state_change_reason: NotRequired[
        "capo_emr.types.instance_fleet_state_change_reason.InstanceFleetStateChangeReason"
    ]
    """<p>Provides status change reason details for the instance fleet.</p>"""
    timeline: NotRequired[
        "capo_emr.types.instance_fleet_timeline.InstanceFleetTimeline"
    ]
    """<p>Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.</p>"""

state instance-attribute

state: NotRequired[InstanceFleetState]

A code representing the instance fleet status.

  • PROVISIONING—The instance fleet is provisioning Amazon EC2 resources and is not yet ready to run jobs.

  • BOOTSTRAPPING—Amazon EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.

  • RUNNING—Amazon EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.

  • RESIZING—A resize operation is underway. Amazon EC2 instances are either being added or removed.

  • SUSPENDED—A resize operation could not complete. Existing Amazon EC2 instances are running, but instances can't be added or removed.

  • TERMINATING—The instance fleet is terminating Amazon EC2 instances.

  • TERMINATED—The instance fleet is no longer active, and all Amazon EC2 instances have been terminated.

state_change_reason instance-attribute

state_change_reason: NotRequired[InstanceFleetStateChangeReason]

Provides status change reason details for the instance fleet.

timeline instance-attribute

timeline: NotRequired[InstanceFleetTimeline]

Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.