Skip to content

EC2  >  Structures  >  CapacityBlockExtensionOffering

CapacityBlockExtensionOffering

Structure Class

CapacityBlockExtensionOffering dataclass

Bases: _SerdeShape

The recommended Capacity Block extension that fits your search requirements.

Attributes

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

The Availability Zone of the Capacity Block that will be extended.

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

The Availability Zone ID of the Capacity Block that will be extended.

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

The amount of time of the Capacity Block extension offering in hours.

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

The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes to expired when it reaches its end date

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

The ID of the Capacity Block extension offering.

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

The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.

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

The currency of the payment for the Capacity Block extension offering.

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

The number of instances in the Capacity Block extension offering.

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

The instance type of the Capacity Block that will be extended.

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

The start date of the Capacity Block that will be extended.

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

Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:

  • default - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

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

The total price of the Capacity Block extension offering, to be paid up front.

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

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