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)


10825
10826
10827
10828
10829
10830
10831
10832
10833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 10825

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)


10825
10826
10827
10828
10829
10830
10831
10832
10833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 10825

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)


10825
10826
10827
10828
10829
10830
10831
10832
10833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 10825

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)


10825
10826
10827
10828
10829
10830
10831
10832
10833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 10825

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:



10825
10826
10827
10828
10829
10830
10831
10832
10833
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 10825

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