Skip to content

QueueSnapshotCapacityUsage

Source code in docs_src/capo_batch/types/queue_snapshot_capacity_usage.py
class QueueSnapshotCapacityUsage(TypedDict, closed=True):
    capacity_unit: NotRequired["capo_batch.types.string.String"]
    """<p>The unit of measure for the capacity usage. For compute jobs, this is <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is the instance type.</p>"""
    quantity: NotRequired["capo_batch.types.double.Double"]
    """<p>The quantity of capacity being used in the queue snapshot, measured in the units specified by <code>capacityUnit</code>.</p>"""

capacity_unit instance-attribute

capacity_unit: NotRequired[String]

The unit of measure for the capacity usage. For compute jobs, this is VCPU for Amazon EC2 and cpu for Amazon EKS. For service jobs, this is the instance type.

quantity instance-attribute

quantity: NotRequired[Double]

The quantity of capacity being used in the queue snapshot, measured in the units specified by capacityUnit.