Class: Aws::EC2::Types::CreateInterruptibleCapacityReservationAllocationRequest

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 from which to create the interruptible Capacity Reservation. Your Capacity Reservation must be in active state with no end date set and have available capacity for allocation.

Returns:

  • (String)


11452
11453
11454
11455
11456
11457
11458
11459
11460
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11452

class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new(
  :capacity_reservation_id,
  :instance_count,
  :client_token,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


11452
11453
11454
11455
11456
11457
11458
11459
11460
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11452

class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new(
  :capacity_reservation_id,
  :instance_count,
  :client_token,
  :dry_run,
  :tag_specifications)
  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)


11452
11453
11454
11455
11456
11457
11458
11459
11460
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11452

class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new(
  :capacity_reservation_id,
  :instance_count,
  :client_token,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end

#instance_countInteger

The number of instances to allocate from your source reservation. You can only allocate available instances (also called unused capacity).

Returns:

  • (Integer)


11452
11453
11454
11455
11456
11457
11458
11459
11460
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11452

class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new(
  :capacity_reservation_id,
  :instance_count,
  :client_token,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specificationsArray<Types::TagSpecification>

The tags to apply to the interruptible Capacity Reservation during creation.

Returns:



11452
11453
11454
11455
11456
11457
11458
11459
11460
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11452

class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new(
  :capacity_reservation_id,
  :instance_count,
  :client_token,
  :dry_run,
  :tag_specifications)
  SENSITIVE = []
  include Aws::Structure
end