Class: Aws::EC2::Types::UpdateInterruptibleCapacityReservationAllocationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::UpdateInterruptibleCapacityReservationAllocationRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#capacity_reservation_id ⇒ String
The ID of the source Capacity Reservation containing the interruptible allocation to modify.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#target_instance_count ⇒ Integer
The new number of instances to allocate.
-
#zero_size_preference ⇒ String
Specifies the updated behavior for the interruptible Capacity Reservation when you reduce its allocation to zero instances.
Instance Attribute Details
#capacity_reservation_id ⇒ String
The ID of the source Capacity Reservation containing the interruptible allocation to modify.
88878 88879 88880 88881 88882 88883 88884 88885 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88878 class UpdateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :target_instance_count, :dry_run, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
88878 88879 88880 88881 88882 88883 88884 88885 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88878 class UpdateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :target_instance_count, :dry_run, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#target_instance_count ⇒ Integer
The new number of instances to allocate. Enter a higher number to add more capacity to share, or a lower number to reclaim capacity to your source Capacity Reservation.
88878 88879 88880 88881 88882 88883 88884 88885 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88878 class UpdateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :target_instance_count, :dry_run, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#zero_size_preference ⇒ String
Specifies the updated behavior for the interruptible Capacity
Reservation when you reduce its allocation to zero instances.
Specify retain to keep the interruptible Capacity Reservation
active at zero capacity so that you can allocate instances to it
again later. Specify default to cancel the interruptible Capacity
Reservation and return the capacity to your source Capacity
Reservation.
88878 88879 88880 88881 88882 88883 88884 88885 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 88878 class UpdateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :target_instance_count, :dry_run, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |