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)


12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164

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


12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164

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


12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164

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


12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164

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

#tag_specificationsArray<Types::TagSpecification>

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

Returns:



12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164

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

#zero_size_preferenceString

Specifies the 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. The default value is default.

Returns:

  • (String)


12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164

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