Interface CfnComputeNodeGroup.SpotOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComputeNodeGroup.SpotOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnComputeNodeGroup
@Stability(Stable)
public static interface CfnComputeNodeGroup.SpotOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Additional configuration when you specify
SPOT
as the purchaseOption
for the CreateComputeNodeGroup
API action.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pcs.*; SpotOptionsProperty spotOptionsProperty = SpotOptionsProperty.builder() .allocationStrategy("allocationStrategy") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComputeNodeGroup.SpotOptionsProperty
static final class
An implementation forCfnComputeNodeGroup.SpotOptionsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllocationStrategy
The Amazon EC2 allocation strategy AWS PCS uses to provision EC2 instances.AWS 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 .
- See Also:
-
builder
-