Fleet Spot Options Args
data class FleetSpotOptionsArgs(val allocationStrategy: Output<String>? = null, val instanceInterruptionBehavior: Output<String>? = null, val instancePoolsToUseCount: Output<Int>? = null, val maintenanceStrategies: Output<FleetSpotOptionsMaintenanceStrategiesArgs>? = null) : ConvertibleToJava<FleetSpotOptionsArgs>
Constructors
Link copied to clipboard
constructor(allocationStrategy: Output<String>? = null, instanceInterruptionBehavior: Output<String>? = null, instancePoolsToUseCount: Output<Int>? = null, maintenanceStrategies: Output<FleetSpotOptionsMaintenanceStrategiesArgs>? = null)
Properties
Link copied to clipboard
How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice.
Link copied to clipboard
Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate.
Link copied to clipboard
Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1.
Link copied to clipboard
Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.