Skip to content

EC2  >  Structures  >  CapacityBlockOffering

CapacityBlockOffering

Structure Class

CapacityBlockOffering dataclass

Bases: _SerdeShape

The recommended Capacity Block that fits your search requirements.

Attributes

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

The Availability Zone of the Capacity Block offering.

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

The number of hours (in addition to capacityBlockDurationMinutes) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 04:55 and ends at 11:30, the hours field would be 6.

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

The number of minutes (in addition to capacityBlockDurationHours) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 08:55 and ends at 11:30, the minutes field would be 35.

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

The ID of the Capacity Block offering.

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

The currency of the payment for the Capacity Block.

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

The end date of the Capacity Block offering.

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

The number of instances in the Capacity Block offering.

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

The instance type of the Capacity Block offering.

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

The start date of the Capacity Block offering.

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

The tenancy of the Capacity Block.

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

The number of EC2 UltraServers in the offering.

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

The EC2 UltraServer type of the Capacity Block offering.

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

The total price to be paid up front.

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

The type of zone where the Capacity Block offering is available.