Package com.pulumi.aws.ec2.outputs
Class FleetOnDemandOptions
- java.lang.Object
-
- com.pulumi.aws.ec2.outputs.FleetOnDemandOptions
-
public final class FleetOnDemandOptions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FleetOnDemandOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
allocationStrategy()
static FleetOnDemandOptions.Builder
builder()
static FleetOnDemandOptions.Builder
builder(FleetOnDemandOptions defaults)
java.util.Optional<FleetOnDemandOptionsCapacityReservationOptions>
capacityReservationOptions()
java.util.Optional<java.lang.String>
maxTotalPrice()
java.util.Optional<java.lang.Integer>
minTargetCapacity()
java.util.Optional<java.lang.Boolean>
singleAvailabilityZone()
java.util.Optional<java.lang.Boolean>
singleInstanceType()
-
-
-
Method Detail
-
allocationStrategy
public java.util.Optional<java.lang.String> allocationStrategy()
- Returns:
- The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: `lowestPrice`, `prioritized`. Default: `lowestPrice`.
-
capacityReservationOptions
public java.util.Optional<FleetOnDemandOptionsCapacityReservationOptions> capacityReservationOptions()
- Returns:
- The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. Supported only for fleets of type `instant`.
-
maxTotalPrice
public java.util.Optional<java.lang.String> maxTotalPrice()
- Returns:
- The maximum amount per hour for On-Demand Instances that you're willing to pay.
-
minTargetCapacity
public java.util.Optional<java.lang.Integer> minTargetCapacity()
- Returns:
- 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`.
-
singleAvailabilityZone
public java.util.Optional<java.lang.Boolean> singleAvailabilityZone()
- Returns:
- Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type `instant`.
-
singleInstanceType
public java.util.Optional<java.lang.Boolean> singleInstanceType()
- Returns:
- 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`.
-
builder
public static FleetOnDemandOptions.Builder builder()
-
builder
public static FleetOnDemandOptions.Builder builder(FleetOnDemandOptions defaults)
-
-