Skip to content

ClusterDetails

Source code in docs_src/capo_inspector2/types/cluster_details.py
class ClusterDetails(TypedDict, closed=True):
    last_in_use: "datetime.datetime"
    """<p>The last timestamp when Amazon Inspector recorded the image in use in the task or pod in the cluster.</p>"""
    running_unit_count: NotRequired["int"]
    """<p>The number of tasks or pods where an image was running on the cluster.</p>"""
    stopped_unit_count: NotRequired["int"]
    """<p>The number of tasks or pods where an image was stopped on the cluster in the last 24 hours.</p>"""
    cluster_metadata: "capo_inspector2.types.cluster_metadata.ClusterMetadata"

cluster_metadata instance-attribute

cluster_metadata: ClusterMetadata

last_in_use instance-attribute

last_in_use: datetime

The last timestamp when Amazon Inspector recorded the image in use in the task or pod in the cluster.

running_unit_count instance-attribute

running_unit_count: NotRequired[int]

The number of tasks or pods where an image was running on the cluster.

stopped_unit_count instance-attribute

stopped_unit_count: NotRequired[int]

The number of tasks or pods where an image was stopped on the cluster in the last 24 hours.