FleetSpotOptions

data class FleetSpotOptions(val allocationStrategy: String? = null, val instanceInterruptionBehavior: String? = null, val instancePoolsToUseCount: Int? = null, val maintenanceStrategies: FleetSpotOptionsMaintenanceStrategies? = null)

Constructors

Link copied to clipboard
constructor(allocationStrategy: String? = null, instanceInterruptionBehavior: String? = null, instancePoolsToUseCount: Int? = null, maintenanceStrategies: FleetSpotOptionsMaintenanceStrategies? = null)

Types

Link copied to clipboard
object Companion

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.