Class: Aws::EC2::Types::InterruptibleCapacityAllocation
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::InterruptibleCapacityAllocation
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Represents the allocation of capacity from a source reservation to an interruptible reservation, tracking current and target instance counts for allocation management.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#instance_count ⇒ Integer
The current number of instances allocated to the interruptible reservation.
-
#interruptible_capacity_reservation_id ⇒ String
The ID of the interruptible Capacity Reservation created from the allocation.
-
#interruption_type ⇒ String
The type of interruption policy applied to the interruptible reservation.
-
#status ⇒ String
The current status of the allocation (updating during reclamation, active when complete).
-
#target_instance_count ⇒ Integer
After your modify request, the requested number of instances allocated to interruptible reservation.
-
#zero_size_preference ⇒ String
Specifies how Amazon EC2 handles the interruptible Capacity Reservation when you reduce its allocation to zero instances.
Instance Attribute Details
#instance_count ⇒ Integer
The current number of instances allocated to the interruptible reservation.
57255 57256 57257 57258 57259 57260 57261 57262 57263 57264 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57255 class InterruptibleCapacityAllocation < Struct.new( :instance_count, :target_instance_count, :status, :interruptible_capacity_reservation_id, :interruption_type, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#interruptible_capacity_reservation_id ⇒ String
The ID of the interruptible Capacity Reservation created from the allocation.
57255 57256 57257 57258 57259 57260 57261 57262 57263 57264 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57255 class InterruptibleCapacityAllocation < Struct.new( :instance_count, :target_instance_count, :status, :interruptible_capacity_reservation_id, :interruption_type, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#interruption_type ⇒ String
The type of interruption policy applied to the interruptible reservation.
57255 57256 57257 57258 57259 57260 57261 57262 57263 57264 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57255 class InterruptibleCapacityAllocation < Struct.new( :instance_count, :target_instance_count, :status, :interruptible_capacity_reservation_id, :interruption_type, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The current status of the allocation (updating during reclamation, active when complete).
57255 57256 57257 57258 57259 57260 57261 57262 57263 57264 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57255 class InterruptibleCapacityAllocation < Struct.new( :instance_count, :target_instance_count, :status, :interruptible_capacity_reservation_id, :interruption_type, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#target_instance_count ⇒ Integer
After your modify request, the requested number of instances allocated to interruptible reservation.
57255 57256 57257 57258 57259 57260 57261 57262 57263 57264 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57255 class InterruptibleCapacityAllocation < Struct.new( :instance_count, :target_instance_count, :status, :interruptible_capacity_reservation_id, :interruption_type, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#zero_size_preference ⇒ String
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.
57255 57256 57257 57258 57259 57260 57261 57262 57263 57264 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 57255 class InterruptibleCapacityAllocation < Struct.new( :instance_count, :target_instance_count, :status, :interruptible_capacity_reservation_id, :interruption_type, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |