You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CostExplorer::Types::CurrentInstance

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Context about the current instance.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

The currency code that AWS used to calculate the costs for this instance.

Returns:

  • (String)

    The currency code that AWS used to calculate the costs for this instance.

#instance_nameString

The name you\'ve given an instance. This field will show as blank if you haven\'t given the instance a name.

Returns:

  • (String)

    The name you\'ve given an instance.

#monthly_costString

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

Returns:

  • (String)

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

#on_demand_hours_in_lookback_periodString

Number of hours during the lookback period billed at On-Demand rates.

Returns:

  • (String)

    Number of hours during the lookback period billed at On-Demand rates.

#reservation_covered_hours_in_lookback_periodString

Number of hours during the lookback period covered by reservations.

Returns:

  • (String)

    Number of hours during the lookback period covered by reservations.

#resource_detailsTypes::ResourceDetails

Details about the resource and utilization.

Returns:

#resource_idString

Resource ID of the current instance.

Returns:

  • (String)

    Resource ID of the current instance.

#resource_utilizationTypes::ResourceUtilization

Utilization information of the current instance during the lookback period.

Returns:

#savings_plans_covered_hours_in_lookback_periodString

Number of hours during the lookback period covered by Savings Plans.

Returns:

  • (String)

    Number of hours during the lookback period covered by Savings Plans.

#tagsArray<Types::TagValues>

Cost allocation resource tags applied to the instance.

Returns:

  • (Array<Types::TagValues>)

    Cost allocation resource tags applied to the instance.

#total_running_hours_in_lookback_periodString

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

Returns:

  • (String)

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