Class: Aws::PCS::Types::SpotOptions

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

Overview

Additional configuration when you specify SPOT as the purchaseOption for the CreateComputeNodeGroup API action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_strategyString

The Amazon EC2 allocation strategy Amazon Web Services PCS uses to provision EC2 instances. Amazon Web Services PCS supports lowest price, capacity optimized, and price capacity optimized. For more information, see Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to price capacity optimized.

Returns:

  • (String)


1665
1666
1667
1668
1669
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1665

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