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)


81896
81897
81898
81899
81900
81901
81902
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81896

class UpdateInterruptibleCapacityReservationAllocationRequest < Struct.new(
  :capacity_reservation_id,
  :target_instance_count,
  :dry_run)
  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)


81896
81897
81898
81899
81900
81901
81902
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81896

class UpdateInterruptibleCapacityReservationAllocationRequest < Struct.new(
  :capacity_reservation_id,
  :target_instance_count,
  :dry_run)
  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)


81896
81897
81898
81899
81900
81901
81902
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81896

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