Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CurrentInstance

import type { CurrentInstance } from "https://aws-api.deno.dev/v0.3/services/costexplorer.ts?docs=full";

Context about the current instance.

interface CurrentInstance {
CurrencyCode?: string | null;
InstanceName?: string | null;
MonthlyCost?: string | null;
OnDemandHoursInLookbackPeriod?: string | null;
ReservationCoveredHoursInLookbackPeriod?: string | null;
ResourceDetails?: ResourceDetails | null;
ResourceId?: string | null;
ResourceUtilization?: ResourceUtilization | null;
SavingsPlansCoveredHoursInLookbackPeriod?: string | null;
Tags?: TagValues[] | null;
TotalRunningHoursInLookbackPeriod?: string | null;
}

§Properties

§
CurrencyCode?: string | null
[src]

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

§
InstanceName?: string | null
[src]

The name that you given an instance. This field shows as blank if you haven't given the instance a name.

§
MonthlyCost?: string | null
[src]

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

§
OnDemandHoursInLookbackPeriod?: string | null
[src]

The number of hours during the lookback period that's billed at On-Demand rates.

§
ReservationCoveredHoursInLookbackPeriod?: string | null
[src]

The number of hours during the lookback period that's covered by reservations.

§
ResourceDetails?: ResourceDetails | null
[src]

Details about the resource and utilization.

§
ResourceId?: string | null
[src]

Resource ID of the current instance.

§
ResourceUtilization?: ResourceUtilization | null
[src]

Utilization information of the current instance during the lookback period.

§
SavingsPlansCoveredHoursInLookbackPeriod?: string | null
[src]

The number of hours during the lookback period that's covered by Savings Plans.

§
Tags?: TagValues[] | null
[src]

Cost allocation resource tags that are applied to the instance.

§
TotalRunningHoursInLookbackPeriod?: string | null
[src]

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