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

HostReservation

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

Details about the Dedicated Host Reservation and associated Dedicated Hosts.

interface HostReservation {
Count?: number | null;
CurrencyCode?: CurrencyCodeValues | null;
Duration?: number | null;
End?: Date | number | null;
HostIdSet: string[];
HostReservationId?: string | null;
HourlyPrice?: string | null;
InstanceFamily?: string | null;
OfferingId?: string | null;
PaymentOption?: PaymentOption | null;
Start?: Date | number | null;
State?: ReservationState | null;
Tags: Tag[];
UpfrontPrice?: string | null;
}

§Properties

§
Count?: number | null
[src]

The number of Dedicated Hosts the reservation is associated with.

§
CurrencyCode?: CurrencyCodeValues | null
[src]

The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

§
Duration?: number | null
[src]

The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

§
End?: Date | number | null
[src]

The date and time that the reservation ends.

§
HostIdSet: string[]
[src]

The IDs of the Dedicated Hosts associated with the reservation.

§
HostReservationId?: string | null
[src]

The ID of the reservation that specifies the associated Dedicated Hosts.

§
HourlyPrice?: string | null
[src]

The hourly price of the reservation.

§
InstanceFamily?: string | null
[src]

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

§
OfferingId?: string | null
[src]

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

§
PaymentOption?: PaymentOption | null
[src]

The payment option selected for this reservation.

§
Start?: Date | number | null
[src]

The date and time that the reservation started.

§
State?: ReservationState | null
[src]

The state of the reservation.

§
Tags: Tag[]
[src]

Any tags assigned to the Dedicated Host Reservation.

§
UpfrontPrice?: string | null
[src]

The upfront price of the reservation.