AWS Cost Explorer Service
Cost Management APIs

CurrentInstance

Context about the current instance.

Contents

CurrencyCode

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

Type: String

Required: No

MonthlyCost

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

Type: String

Required: No

OnDemandHoursInLookbackPeriod

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

Type: String

Required: No

ReservationCoveredHoursInLookbackPeriod

Number of hours during the lookback period covered by reservations.

Type: String

Required: No

ResourceDetails

Details about the resource and utilization.

Type: ResourceDetails object

Required: No

ResourceId

Resource ID of the current instance.

Type: String

Required: No

ResourceUtilization

Utilization information of the current instance during the lookback period.

Type: ResourceUtilization object

Required: No

SavingsPlansCoveredHoursInLookbackPeriod

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

Type: String

Required: No

Tags

Cost allocation resource tags applied to the instance.

Type: Array of TagValues objects

Required: No

TotalRunningHoursInLookbackPeriod

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

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: