FleetOnDemandOptionsArgs

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

Constructors

Link copied to clipboard
constructor(allocationStrategy: Output<String>? = 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 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: 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 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
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(): FleetOnDemandOptionsArgs