Values.MixedInstancesPolicySourceUse this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group. A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
type nonrec t = {launchTemplate : LaunchTemplate.t option;One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities.
*)instancesDistribution : InstancesDistribution.t option;The instances distribution.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Integer of OnDemandBaseCapacity.t
| `List of
[> `Structure of
(string
* [> `String of XmlStringMaxLen255.t
| `Structure of
(string
* [> `Boolean of NullableBoolean.t
| `Enum of string
| `Integer of NullablePositiveInteger.t
| `List of
[> `Enum of string
| `String of ExcludedInstance.t ]
list
| `String of XmlStringMaxLen255.t
| `Structure of
(string
* [> `Double of NullablePositiveDouble.t
| `Integer of NullablePositiveInteger.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of String_.t ])
list ]
list ])
list ])
list ])
list ])
list ]
list
| `String of XmlString.t
| `Structure of
(string * [> `String of XmlStringMaxLen255.t ]) list ])
list ])
list ]