FleetSpotOptionsArgs

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
fun FleetSpotOptionsArgs(allocationStrategy: Output<String>? = null, instanceInterruptionBehavior: Output<String>? = null, instancePoolsToUseCount: Output<Int>? = null, maintenanceStrategies: Output<FleetSpotOptionsMaintenanceStrategiesArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): FleetSpotOptionsArgs

Properties

Link copied to clipboard
val allocationStrategy: Output<String>? = null

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
val instancePoolsToUseCount: Output<Int>? = null

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.