CurrentInstance
public struct CurrentInstance : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The currency code that Amazon Web Services used to calculate the costs for this instance.
Declaration
Swift
public let currencyCode: String? -
The name you’ve given an instance. This field will show as blank if you haven’t given the instance a name.
Declaration
Swift
public let instanceName: String? -
Current On Demand cost of operating this instance on a monthly basis.
Declaration
Swift
public let monthlyCost: String? -
Number of hours during the lookback period billed at On Demand rates.
Declaration
Swift
public let onDemandHoursInLookbackPeriod: String? -
Number of hours during the lookback period covered by reservations.
Declaration
Swift
public let reservationCoveredHoursInLookbackPeriod: String? -
Details about the resource and utilization.
Declaration
Swift
public let resourceDetails: ResourceDetails? -
Resource ID of the current instance.
Declaration
Swift
public let resourceId: String? -
Utilization information of the current instance during the lookback period.
Declaration
Swift
public let resourceUtilization: ResourceUtilization? -
Number of hours during the lookback period covered by Savings Plans.
Declaration
Swift
public let savingsPlansCoveredHoursInLookbackPeriod: String? -
Cost allocation resource tags applied to the instance.
Declaration
Swift
public let tags: [TagValues]? -
The total number of hours the instance ran during the lookback period.
Declaration
Swift
public let totalRunningHoursInLookbackPeriod: String? -
init(currencyCode:instanceName:monthlyCost:onDemandHoursInLookbackPeriod:reservationCoveredHoursInLookbackPeriod:resourceDetails:resourceId:resourceUtilization:savingsPlansCoveredHoursInLookbackPeriod:tags:totalRunningHoursInLookbackPeriod:)Undocumented
Declaration
Swift
public init(currencyCode: String? = nil, instanceName: String? = nil, monthlyCost: String? = nil, onDemandHoursInLookbackPeriod: String? = nil, reservationCoveredHoursInLookbackPeriod: String? = nil, resourceDetails: ResourceDetails? = nil, resourceId: String? = nil, resourceUtilization: ResourceUtilization? = nil, savingsPlansCoveredHoursInLookbackPeriod: String? = nil, tags: [TagValues]? = nil, totalRunningHoursInLookbackPeriod: String? = nil)
View on GitHub
CurrentInstance Structure Reference