Skip to content

ActiveInstance

Source code in docs_src/capo_ec2/types/active_instance.py
class ActiveInstance(TypedDict, closed=True):
    instance_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the instance.</p>"""
    instance_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The instance type.</p>"""
    spot_instance_request_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Spot Instance request.</p>"""
    instance_health: NotRequired[
        "capo_ec2.types.instance_health_status.InstanceHealthStatus"
    ]
    """<p>The health status of the instance. If the status of either the instance status check or the system status check is <code>impaired</code>, the health status of the instance is <code>unhealthy</code>. Otherwise, the health status is <code>healthy</code>.</p>"""

instance_health instance-attribute

instance_health: NotRequired[InstanceHealthStatus]

The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

instance_id instance-attribute

instance_id: NotRequired[String]

The ID of the instance.

instance_type instance-attribute

instance_type: NotRequired[String]

The instance type.

spot_instance_request_id instance-attribute

spot_instance_request_id: NotRequired[String]

The ID of the Spot Instance request.