CurrentInstance - AWS Cost Explorer Service

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

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: No

MonthlyCost

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: No

OnDemandHoursInLookbackPeriod

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: No

ReservationCoveredHoursInLookbackPeriod

Number of hours during the lookback period covered by reservations.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: No

ResourceDetails

Details about the resource and utilization.

Type: ResourceDetails object

Required: No

ResourceId

Resource ID of the current instance.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

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

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

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

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: No

See Also

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