InterruptibleCapacityAllocation
¶
Source code in docs_src/capo_ec2/types/interruptible_capacity_allocation.py
instance_count
instance-attribute
¶
instance_count: NotRequired[Integer]
The current number of instances allocated to the interruptible reservation.
interruptible_capacity_reservation_id
instance-attribute
¶
interruptible_capacity_reservation_id: NotRequired[String]
The ID of the interruptible Capacity Reservation created from the allocation.
interruption_type
instance-attribute
¶
interruption_type: NotRequired[InterruptionType]
The type of interruption policy applied to the interruptible reservation.
status
instance-attribute
¶
status: NotRequired[InterruptibleCapacityReservationAllocationStatus]
The current status of the allocation (updating during reclamation, active when complete).
target_instance_count
instance-attribute
¶
target_instance_count: NotRequired[Integer]
After your modify request, the requested number of instances allocated to interruptible reservation.
zero_size_preference
instance-attribute
¶
zero_size_preference: NotRequired[ZeroSizePreference]
Specifies how Amazon EC2 handles the interruptible Capacity Reservation when you reduce its allocation to zero instances. A value of retain keeps the interruptible Capacity Reservation active at zero capacity so that you can allocate instances to it again later. A value of default cancels the interruptible Capacity Reservation and returns the capacity to your source Capacity Reservation.