Purchase
¶
Source code in docs_src/capo_ec2/types/purchase.py
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 duration of the reservation's term in seconds.
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.
hourly_price
instance-attribute
¶
hourly_price: NotRequired[String]
The hourly price of the reservation per hour.
instance_family
instance-attribute
¶
instance_family: NotRequired[String]
The instance family on the Dedicated Host that the reservation can be associated with.
payment_option
instance-attribute
¶
payment_option: NotRequired[PaymentOption]
The payment option for the reservation.