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 PCS uses to provision EC2 instances. 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)


2060
2061
2062
2063
2064
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 2060

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