Skip to content

ReservedInstancesOffering

Source code in docs_src/capo_ec2/types/reserved_instances_offering.py
class ReservedInstancesOffering(TypedDict, closed=True):
    currency_code: NotRequired["capo_ec2.types.currency_code_values.CurrencyCodeValues"]
    """<p>The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is <code>USD</code>.</p>"""
    instance_tenancy: NotRequired["capo_ec2.types.tenancy.Tenancy"]
    """<p>The tenancy of the instance.</p>"""
    marketplace: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is <code>true</code>.</p>"""
    offering_class: NotRequired["capo_ec2.types.offering_class_type.OfferingClassType"]
    """<p>If <code>convertible</code> it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If <code>standard</code>, it is not possible to perform an exchange.</p>"""
    offering_type: NotRequired["capo_ec2.types.offering_type_values.OfferingTypeValues"]
    """<p>The Reserved Instance offering type.</p>"""
    pricing_details: NotRequired[
        "capo_ec2.types.pricing_details_list.PricingDetailsList"
    ]
    """<p>The pricing details of the Reserved Instance offering.</p>"""
    recurring_charges: NotRequired[
        "capo_ec2.types.recurring_charges_list.RecurringChargesList"
    ]
    """<p>The recurring charge tag assigned to the resource.</p>"""
    scope: NotRequired["capo_ec2.types.scope.scope"]
    """<p>Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.</p>"""
    availability_zone_id: NotRequired[
        "capo_ec2.types.availability_zone_id.AvailabilityZoneId"
    ]
    """<p>The ID of the Availability Zone.</p>"""
    reserved_instances_offering_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Reserved Instance offering. This is the offering ID used in <a>GetReservedInstancesExchangeQuote</a> to confirm that an exchange can be made.</p>"""
    instance_type: NotRequired["capo_ec2.types.instance_type.InstanceType"]
    """<p>The instance type on which the Reserved Instance can be used.</p>"""
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone in which the Reserved Instance can be used.</p>"""
    duration: NotRequired["capo_ec2.types.long.Long"]
    """<p>The duration of the Reserved Instance, in seconds.</p>"""
    usage_price: NotRequired["capo_ec2.types.float.Float"]
    """<p>The usage price of the Reserved Instance, per hour.</p>"""
    fixed_price: NotRequired["capo_ec2.types.float.Float"]
    """<p>The purchase price of the Reserved Instance.</p>"""
    product_description: NotRequired[
        "capo_ec2.types.ri_product_description.RIProductDescription"
    ]
    """<p>The Reserved Instance product platform description.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone in which the Reserved Instance can be used.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[AvailabilityZoneId]

The ID of the Availability Zone.

currency_code instance-attribute

currency_code: NotRequired[CurrencyCodeValues]

The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

duration instance-attribute

duration: NotRequired[Long]

The duration of the Reserved Instance, in seconds.

fixed_price instance-attribute

fixed_price: NotRequired[Float]

The purchase price of the Reserved Instance.

instance_tenancy instance-attribute

instance_tenancy: NotRequired[Tenancy]

The tenancy of the instance.

instance_type instance-attribute

instance_type: NotRequired[InstanceType]

The instance type on which the Reserved Instance can be used.

marketplace instance-attribute

marketplace: NotRequired[Boolean]

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is true.

offering_class instance-attribute

offering_class: NotRequired[OfferingClassType]

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

offering_type instance-attribute

offering_type: NotRequired[OfferingTypeValues]

The Reserved Instance offering type.

pricing_details instance-attribute

pricing_details: NotRequired[PricingDetailsList]

The pricing details of the Reserved Instance offering.

product_description instance-attribute

product_description: NotRequired[RIProductDescription]

The Reserved Instance product platform description.

recurring_charges instance-attribute

recurring_charges: NotRequired[RecurringChargesList]

The recurring charge tag assigned to the resource.

reserved_instances_offering_id instance-attribute

reserved_instances_offering_id: NotRequired[String]

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

scope instance-attribute

scope: NotRequired[scope]

Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

usage_price instance-attribute

usage_price: NotRequired[Float]

The usage price of the Reserved Instance, per hour.