FleetOnDemandOptions

data class FleetOnDemandOptions(val allocationStrategy: String? = null, val maxTotalPrice: String? = null, val minTargetCapacity: Int? = null, val singleAvailabilityZone: Boolean? = null, val singleInstanceType: Boolean? = null)

Constructors

Link copied to clipboard
constructor(allocationStrategy: String? = null, maxTotalPrice: String? = null, minTargetCapacity: Int? = null, singleAvailabilityZone: Boolean? = null, singleInstanceType: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.

Link copied to clipboard
val maxTotalPrice: String? = null

The maximum amount per hour for On-Demand Instances that you're willing to pay.

Link copied to clipboard
val minTargetCapacity: Int? = null

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type.

Link copied to clipboard

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant.

Link copied to clipboard

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant.