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_id ⇒ String

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

Returns:

  • (String)


89671
89672
89673
89674
89675
89676
89677
89678
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 89671

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.

Returns:

  • (Boolean)


89671
89672
89673
89674
89675
89676
89677
89678
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 89671

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.

Returns:

  • (Integer)


89671
89672
89673
89674
89675
89676
89677
89678
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 89671

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.

Returns:

  • (String)


89671
89672
89673
89674
89675
89676
89677
89678
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 89671

class UpdateInterruptibleCapacityReservationAllocationRequest < Struct.new(
  :capacity_reservation_id,
  :target_instance_count,
  :dry_run,
  :zero_size_preference)
  SENSITIVE = []
  include Aws::Structure
end