Ec2FleetOnDemandOptionsRequestArgs

data class Ec2FleetOnDemandOptionsRequestArgs(val allocationStrategy: Output<String>? = null, val capacityReservationOptions: Output<Ec2FleetCapacityReservationOptionsRequestArgs>? = null, val maxTotalPrice: Output<String>? = null, val minTargetCapacity: Output<Int>? = null, val singleAvailabilityZone: Output<Boolean>? = null, val singleInstanceType: Output<Boolean>? = null) : ConvertibleToJava<Ec2FleetOnDemandOptionsRequestArgs>

Constructors

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

Properties

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

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: Output<String>? = null

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

Link copied to clipboard
val minTargetCapacity: Output<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
val singleAvailabilityZone: Output<Boolean>? = null

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
val singleInstanceType: Output<Boolean>? = null

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 .

Functions

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