aws ec2 update-interruptible-capacity-reservation-allocation
Modifies the number of instances allocated to an interruptible reservation, allowing you to add more capacity or reclaim capacity to your source Capacity Reservation. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--capacity-reservation-idThe ID of the source Capacity Reservation containing the interruptible allocation to modify.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--target-instance-countThe new number of instances to allocate.--zero-size-preferenceSpecifies the updated behavior for the interruptible Capacity Reservation when you reduce its allocation to zero instances.