CurrentInstance
Context about the current instance.
Contents
- CurrencyCode
-
The currency code that AWS 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
- InstanceName
-
The name that you given an instance. This field shows as blank if you haven't given the instance a name.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Pattern:
[\S\s]*
Required: No
- MonthlyCost
-
The 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
-
The number of hours during the lookback period that's billed at On-Demand rates.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Pattern:
[\S\s]*
Required: No
- ReservationCoveredHoursInLookbackPeriod
-
The number of hours during the lookback period that's 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
-
The number of hours during the lookback period that's 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 that are applied to the instance.
Type: Array of TagValues objects
Required: No
- TotalRunningHoursInLookbackPeriod
-
The total number of hours that 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: