Class: Aws::EC2::Types::UpdateInterruptibleCapacityReservationAllocationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_reservation_idString

The ID of the source Capacity Reservation containing the interruptible allocation to modify.

Returns:

  • (String)


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_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

Returns:

  • (Boolean)


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_countInteger

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.

Returns:

  • (Integer)


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_preferenceString

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.

Returns:

  • (String)


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