InterruptibleCapacityAllocation
Represents the allocation of capacity from a source reservation to an interruptible reservation, tracking current and target instance counts for allocation management.
Contents
- instanceCount
-
The current number of instances allocated to the interruptible reservation.
Type: Integer
Required: No
- interruptibleCapacityReservationId
-
The ID of the interruptible Capacity Reservation created from the allocation.
Type: String
Required: No
- interruptionType
-
The type of interruption policy applied to the interruptible reservation.
Type: String
Valid Values:
adhocRequired: No
- status
-
The current status of the allocation (updating during reclamation, active when complete).
Type: String
Valid Values:
pending | active | updating | canceling | canceled | failedRequired: No
- targetInstanceCount
-
After your modify request, the requested number of instances allocated to interruptible reservation.
Type: Integer
Required: No
- zeroSizePreference
-
Specifies how Amazon EC2 handles the interruptible Capacity Reservation when you reduce its allocation to zero instances. A value of
retainkeeps the interruptible Capacity Reservation active at zero capacity so that you can allocate instances to it again later. A value ofdefaultcancels the interruptible Capacity Reservation and returns the capacity to your source Capacity Reservation.Type: String
Valid Values:
retain | defaultRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: