Class FleetOnDemandOptionsArgs


  • public final class FleetOnDemandOptionsArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • allocationStrategy

        public java.util.Optional<com.pulumi.core.Output<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<com.pulumi.core.Output<FleetOnDemandOptionsCapacityReservationOptionsArgs>> 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<com.pulumi.core.Output<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<com.pulumi.core.Output<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 `minTargetCapacity`, at least one of the following must be specified: `singleAvailabilityZone` or `singleInstanceType`.
      • singleAvailabilityZone

        public java.util.Optional<com.pulumi.core.Output<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<com.pulumi.core.Output<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`.