Ec2FleetOnDemandOptionsRequest

data class Ec2FleetOnDemandOptionsRequest(val allocationStrategy: String? = null, val capacityReservationOptions: Ec2FleetCapacityReservationOptionsRequest? = 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, capacityReservationOptions: Ec2FleetCapacityReservationOptionsRequest? = 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 strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity. lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first. prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first. Default: lowest-price

Link copied to clipboard

The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. Supported only for fleets of type instant .

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 this minimum capacity isn't reached, no instances are launched. Constraints: Maximum value of 1000 . Supported only for fleets of type instant . At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

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 .