Skip to content

CoverageCost

Source code in docs_src/capo_cost_explorer/types/coverage_cost.py
class CoverageCost(TypedDict, closed=True):
    on_demand_cost: NotRequired["capo_cost_explorer.types.on_demand_cost.OnDemandCost"]
    """<p>The cost of the On-Demand Instance usage that reservations didn't cover (the usage in <code>OnDemandHours</code>), at public On-Demand rates. It doesn't include Spot usage or usage that Savings Plans covered. This isn't your billed cost. It's 0 for usage that has no public On-Demand rate.</p>"""

on_demand_cost instance-attribute

on_demand_cost: NotRequired[OnDemandCost]

The cost of the On-Demand Instance usage that reservations didn't cover (the usage in OnDemandHours), at public On-Demand rates. It doesn't include Spot usage or usage that Savings Plans covered. This isn't your billed cost. It's 0 for usage that has no public On-Demand rate.