Class: Aws::PCS::Types::SpotOptions
- Inherits:
-
Struct
- Object
- Struct
- Aws::PCS::Types::SpotOptions
- Includes:
- Structure
- Defined in:
- 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
-
#allocation_strategy ⇒ String
The Amazon EC2 allocation strategy PCS uses to provision EC2 instances.
Instance Attribute Details
#allocation_strategy ⇒ String
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**.
[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html
1970 1971 1972 1973 1974 |
# File 'lib/aws-sdk-pcs/types.rb', line 1970 class SpotOptions < Struct.new( :allocation_strategy) SENSITIVE = [] include Aws::Structure end |