Skip to content

EC2  >  Structures  >  ReservedInstances

ReservedInstances

Structure Class

ReservedInstances dataclass

Bases: _SerdeShape

Describes a Reserved Instance.

Attributes

availability_zone class-attribute instance-attribute
availability_zone: str | None = ...

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

availability_zone_id class-attribute instance-attribute
availability_zone_id: str | None = ...

The ID of the Availability Zone.

currency_code class-attribute instance-attribute
currency_code: str | None = ...

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 class-attribute instance-attribute
duration: int | None = ...

The duration of the Reserved Instance, in seconds.

end class-attribute instance-attribute
end: datetime | None = ...

The time when the Reserved Instance expires.

fixed_price class-attribute instance-attribute
fixed_price: float | None = ...

The purchase price of the Reserved Instance.

instance_count class-attribute instance-attribute
instance_count: int | None = ...

The number of reservations purchased.

instance_tenancy class-attribute instance-attribute
instance_tenancy: str | None = ...

The tenancy of the instance.

instance_type class-attribute instance-attribute
instance_type: str | None = ...

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

offering_class class-attribute instance-attribute
offering_class: str | None = ...

The offering class of the Reserved Instance.

offering_type class-attribute instance-attribute
offering_type: str | None = ...

The Reserved Instance offering type.

product_description class-attribute instance-attribute
product_description: str | None = ...

The Reserved Instance product platform description.

recurring_charges class-attribute instance-attribute
recurring_charges: list[RecurringCharge] | None = ...

The recurring charge tag assigned to the resource.

reserved_instances_id class-attribute instance-attribute
reserved_instances_id: str | None = ...

The ID of the Reserved Instance.

scope class-attribute instance-attribute
scope: str | None = ...

The scope of the Reserved Instance.

start class-attribute instance-attribute
start: datetime | None = ...

The date and time the Reserved Instance started.

state class-attribute instance-attribute
state: str | None = ...

The state of the Reserved Instance purchase.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

Any tags assigned to the resource.

usage_price class-attribute instance-attribute
usage_price: float | None = ...

The usage price of the Reserved Instance, per hour.