HostReservation
¶
Source code in docs_src/capo_ec2/types/host_reservation.py
count
instance-attribute
¶
count: NotRequired[Integer]
The number of Dedicated Hosts the reservation is associated with.
currency_code
instance-attribute
¶
currency_code: NotRequired[CurrencyCodeValues]
The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.
duration
instance-attribute
¶
duration: NotRequired[Integer]
The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).
host_id_set
instance-attribute
¶
host_id_set: NotRequired[ResponseHostIdSet]
The IDs of the Dedicated Hosts associated with the reservation.
host_reservation_id
instance-attribute
¶
host_reservation_id: NotRequired[HostReservationId]
The ID of the reservation that specifies the associated Dedicated Hosts.
hourly_price
instance-attribute
¶
hourly_price: NotRequired[String]
The hourly price of the reservation.
instance_family
instance-attribute
¶
instance_family: NotRequired[String]
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.
offering_id
instance-attribute
¶
offering_id: NotRequired[OfferingId]
The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.
payment_option
instance-attribute
¶
payment_option: NotRequired[PaymentOption]
The payment option selected for this reservation.
start
instance-attribute
¶
start: NotRequired[DateTime]
The date and time that the reservation started.