Skip to content

HostOffering

Source code in docs_src/capo_ec2/types/host_offering.py
class HostOffering(TypedDict, closed=True):
    currency_code: NotRequired["capo_ec2.types.currency_code_values.CurrencyCodeValues"]
    """<p>The currency of the offering.</p>"""
    duration: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The duration of the offering (in seconds).</p>"""
    hourly_price: NotRequired["capo_ec2.types.string.String"]
    """<p>The hourly price of the offering.</p>"""
    instance_family: NotRequired["capo_ec2.types.string.String"]
    """<p>The instance family of the offering.</p>"""
    offering_id: NotRequired["capo_ec2.types.offering_id.OfferingId"]
    """<p>The ID of the offering.</p>"""
    payment_option: NotRequired["capo_ec2.types.payment_option.PaymentOption"]
    """<p>The available payment option.</p>"""
    upfront_price: NotRequired["capo_ec2.types.string.String"]
    """<p>The upfront price of the offering. Does not apply to No Upfront offerings.</p>"""

currency_code instance-attribute

currency_code: NotRequired[CurrencyCodeValues]

The currency of the offering.

duration instance-attribute

duration: NotRequired[Integer]

The duration of the offering (in seconds).

hourly_price instance-attribute

hourly_price: NotRequired[String]

The hourly price of the offering.

instance_family instance-attribute

instance_family: NotRequired[String]

The instance family of the offering.

offering_id instance-attribute

offering_id: NotRequired[OfferingId]

The ID of the offering.

payment_option instance-attribute

payment_option: NotRequired[PaymentOption]

The available payment option.

upfront_price instance-attribute

upfront_price: NotRequired[String]

The upfront price of the offering. Does not apply to No Upfront offerings.