Class: Aws::EC2::Types::ReservedCapacityOptionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to reserved-capacity.

This configuration can only be used if the EC2 Fleet is of type instant.

When you specify ReservedCapacityOptions, you must also set DefaultTargetCapacityType to reserved-capacity in the TargetCapacitySpecification.

For more information about Interruptible Capacity Reservations, see Launch instances into an Interruptible Capacity Reservation in the Amazon EC2 User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#reservation_typesArray<String>

The types of Capacity Reservations to use for fulfilling the EC2 Fleet request.

Returns:

  • (Array<String>)


72518
72519
72520
72521
72522
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 72518

class ReservedCapacityOptionsRequest < Struct.new(
  :reservation_types)
  SENSITIVE = []
  include Aws::Structure
end