Module Values.AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetailsSource

Information about the instances distribution.

Sourcetype nonrec t = {
  1. onDemandAllocationStrategy : NonEmptyString.t option;
    (*

    How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.

    *)
  2. onDemandBaseCapacity : Integer.t option;
    (*

    The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.

    *)
  3. onDemandPercentageAboveBaseCapacity : Integer.t option;
    (*

    The percentage of On-Demand Instances and Spot Instances for additional capacity beyond OnDemandBaseCapacity.

    *)
  4. spotAllocationStrategy : NonEmptyString.t option;
    (*

    How to allocate instances across Spot Instance pools. Valid values are as follows: lowest-price capacity-optimized capacity-optimized-prioritized

    *)
  5. spotInstancePools : Integer.t option;
    (*

    The number of Spot Instance pools across which to allocate your Spot Instances.

    *)
  6. spotMaxPrice : NonEmptyString.t option;
    (*

    The maximum price per unit hour that you are willing to pay for a Spot Instance.

    *)
}
Sourceval make : ?onDemandAllocationStrategy:??? -> ?onDemandBaseCapacity:??? -> ?onDemandPercentageAboveBaseCapacity:??? -> ?spotAllocationStrategy:??? -> ?spotInstancePools:??? -> ?spotMaxPrice:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t