FleetOnDemandOptions class

Constructors

FleetOnDemandOptions({Input<String?>? allocationStrategy, Input<FleetOnDemandOptionsCapacityReservationOptions?>? capacityReservationOptions, Input<String?>? maxTotalPrice, Input<int?>? minTargetCapacity, Input<bool?>? singleAvailabilityZone, Input<bool?>? singleInstanceType})
Creates a new FleetOnDemandOptions. allocationStrategy The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice. capacityReservationOptions The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. Supported only for fleets of type instant. maxTotalPrice The maximum amount per hour for On-Demand Instances that you're willing to pay. minTargetCapacity 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. singleAvailabilityZone Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant. singleInstanceType 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.
const
FleetOnDemandOptions.fromMap(Map<String, dynamic> map)
factory

Properties

allocationStrategy → Input<String?>?
The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.
final
capacityReservationOptions → Input<FleetOnDemandOptionsCapacityReservationOptions?>?
The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. Supported only for fleets of type instant.
final
hashCode → int
The hash code for this object.
no setterinherited
maxTotalPrice → Input<String?>?
The maximum amount per hour for On-Demand Instances that you're willing to pay.
final
minTargetCapacity → Input<int?>?
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 minTargetCapacity, at least one of the following must be specified: singleAvailabilityZone or singleInstanceType.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
singleAvailabilityZone → Input<bool?>?
Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant.
final
singleInstanceType → Input<bool?>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited