Skip to content

EC2  >  Structures  >  CapacityReservationAdjustmentDetails

CapacityReservationAdjustmentDetails

Structure Class

CapacityReservationAdjustmentDetails dataclass

Bases: _SerdeShape

Describes the configuration that a Capacity Reservation will have after a pending adjustment is applied.

Attributes

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

The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.

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

The date and time at which the commitment duration will expire after the adjustment.

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

The end date that the Capacity Reservation will have after the adjustment.

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

Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are:

  • unlimited - The Capacity Reservation remains active until you explicitly cancel it.

  • limited - The Capacity Reservation expires automatically at the date and time given by endDate.

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

The start date that the Capacity Reservation will have after the adjustment.