Skip to content

ReservedInstances

Source code in docs_src/capo_ec2/types/reserved_instances.py
class ReservedInstances(TypedDict, closed=True):
    currency_code: NotRequired["capo_ec2.types.currency_code_values.CurrencyCodeValues"]
    """<p>The currency of the Reserved Instance. 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>"""
    offering_class: NotRequired["capo_ec2.types.offering_class_type.OfferingClassType"]
    """<p>The offering class of the Reserved Instance.</p>"""
    offering_type: NotRequired["capo_ec2.types.offering_type_values.OfferingTypeValues"]
    """<p>The Reserved Instance offering type.</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>The scope of the Reserved Instance.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>Any tags assigned to the resource.</p>"""
    availability_zone_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Availability Zone.</p>"""
    reserved_instances_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Reserved Instance.</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>"""
    start: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The date and time the Reserved Instance started.</p>"""
    end: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The time when the Reserved Instance expires.</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>"""
    instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of reservations purchased.</p>"""
    product_description: NotRequired[
        "capo_ec2.types.ri_product_description.RIProductDescription"
    ]
    """<p>The Reserved Instance product platform description.</p>"""
    state: NotRequired["capo_ec2.types.reserved_instance_state.ReservedInstanceState"]
    """<p>The state of the Reserved Instance purchase.</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[String]

The ID of the Availability Zone.

currency_code instance-attribute

currency_code: NotRequired[CurrencyCodeValues]

The currency of the Reserved Instance. 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.

end instance-attribute

end: NotRequired[DateTime]

The time when the Reserved Instance expires.

fixed_price instance-attribute

fixed_price: NotRequired[Float]

The purchase price of the Reserved Instance.

instance_count instance-attribute

instance_count: NotRequired[Integer]

The number of reservations purchased.

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.

offering_class instance-attribute

offering_class: NotRequired[OfferingClassType]

The offering class of the Reserved Instance.

offering_type instance-attribute

offering_type: NotRequired[OfferingTypeValues]

The Reserved Instance offering type.

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_id instance-attribute

reserved_instances_id: NotRequired[String]

The ID of the Reserved Instance.

scope instance-attribute

scope: NotRequired[scope]

The scope of the Reserved Instance.

start instance-attribute

start: NotRequired[DateTime]

The date and time the Reserved Instance started.

state instance-attribute

state: NotRequired[ReservedInstanceState]

The state of the Reserved Instance purchase.

tags instance-attribute

tags: NotRequired[TagList]

Any tags assigned to the resource.

usage_price instance-attribute

usage_price: NotRequired[Float]

The usage price of the Reserved Instance, per hour.