Values.DesiredConfigurationSourceDescribes the desired configuration for an instance refresh. If you specify a desired configuration, you must specify either a LaunchTemplate or a MixedInstancesPolicy.
type nonrec t = {launchTemplate : LaunchTemplateSpecification.t option;Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.
*)mixedInstancesPolicy : MixedInstancesPolicy.t option;Use 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.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `String of XmlStringMaxLen255.t
| `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 ])
list ]