Skip to content

CurrentInstance

Source code in docs_src/capo_cost_explorer/types/current_instance.py
class CurrentInstance(TypedDict, closed=True):
    resource_id: NotRequired["capo_cost_explorer.types.generic_string.GenericString"]
    """<p>Resource ID of the current instance.</p>"""
    instance_name: NotRequired["capo_cost_explorer.types.generic_string.GenericString"]
    """<p>The name that you given an instance. This field shows as blank if you haven't given the instance a name.</p>"""
    tags: NotRequired["capo_cost_explorer.types.tag_values_list.TagValuesList"]
    """<p>Cost allocation resource tags that are applied to the instance.</p>"""
    resource_details: NotRequired[
        "capo_cost_explorer.types.resource_details.ResourceDetails"
    ]
    """<p>Details about the resource and utilization.</p>"""
    resource_utilization: NotRequired[
        "capo_cost_explorer.types.resource_utilization.ResourceUtilization"
    ]
    """<p>Utilization information of the current instance during the lookback period.</p>"""
    reservation_covered_hours_in_lookback_period: NotRequired[
        "capo_cost_explorer.types.generic_string.GenericString"
    ]
    """<p>The number of hours during the lookback period that's covered by reservations.</p>"""
    savings_plans_covered_hours_in_lookback_period: NotRequired[
        "capo_cost_explorer.types.generic_string.GenericString"
    ]
    """<p>The number of hours during the lookback period that's covered by Savings Plans.</p>"""
    on_demand_hours_in_lookback_period: NotRequired[
        "capo_cost_explorer.types.generic_string.GenericString"
    ]
    """<p>The number of hours during the lookback period that's billed at On-Demand rates.</p>"""
    total_running_hours_in_lookback_period: NotRequired[
        "capo_cost_explorer.types.generic_string.GenericString"
    ]
    """<p>The total number of hours that the instance ran during the lookback period.</p>"""
    monthly_cost: NotRequired["capo_cost_explorer.types.generic_string.GenericString"]
    """<p>The current On-Demand cost of operating this instance on a monthly basis.</p>"""
    currency_code: NotRequired["capo_cost_explorer.types.generic_string.GenericString"]
    """<p>The currency code that Amazon Web Services used to calculate the costs for this instance.</p>"""

currency_code instance-attribute

currency_code: NotRequired[GenericString]

The currency code that Amazon Web Services used to calculate the costs for this instance.

instance_name instance-attribute

instance_name: NotRequired[GenericString]

The name that you given an instance. This field shows as blank if you haven't given the instance a name.

monthly_cost instance-attribute

monthly_cost: NotRequired[GenericString]

The current On-Demand cost of operating this instance on a monthly basis.

on_demand_hours_in_lookback_period instance-attribute

on_demand_hours_in_lookback_period: NotRequired[GenericString]

The number of hours during the lookback period that's billed at On-Demand rates.

reservation_covered_hours_in_lookback_period instance-attribute

reservation_covered_hours_in_lookback_period: NotRequired[GenericString]

The number of hours during the lookback period that's covered by reservations.

resource_details instance-attribute

resource_details: NotRequired[ResourceDetails]

Details about the resource and utilization.

resource_id instance-attribute

resource_id: NotRequired[GenericString]

Resource ID of the current instance.

resource_utilization instance-attribute

resource_utilization: NotRequired[ResourceUtilization]

Utilization information of the current instance during the lookback period.

savings_plans_covered_hours_in_lookback_period instance-attribute

savings_plans_covered_hours_in_lookback_period: NotRequired[GenericString]

The number of hours during the lookback period that's covered by Savings Plans.

tags instance-attribute

tags: NotRequired[TagValuesList]

Cost allocation resource tags that are applied to the instance.

total_running_hours_in_lookback_period instance-attribute

total_running_hours_in_lookback_period: NotRequired[GenericString]

The total number of hours that the instance ran during the lookback period.