Values.InstanceSourceDescribes an EC2 instance.
type nonrec t = {instanceId : XmlStringMaxLen19.t option;The ID of the instance.
*)instanceType : XmlStringMaxLen255.t option;The instance type of the EC2 instance.
*)availabilityZone : XmlStringMaxLen255.t option;The Availability Zone in which the instance is running.
*)availabilityZoneId : XmlStringMaxLen255.t option;The Availability Zone ID where the instance was launched.
*)lifecycleState : LifecycleState.t option;A description of the current lifecycle state. The Quarantined state is not used. For more information, see Amazon EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User Guide.
*)healthStatus : XmlStringMaxLen32.t option;The last reported health status of the instance. Healthy means that the instance is healthy and should remain in service. Unhealthy means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it.
*)launchConfigurationName : XmlStringMaxLen255.t option;The launch configuration associated with the instance.
*)launchTemplate : LaunchTemplateSpecification.t option;The launch template for the instance.
*)imageId : XmlStringMaxLen255.t option;The ID of the Amazon Machine Image (AMI) used for the instance's current root volume. This value reflects the most recent AMI applied to the instance, including updates made through root volume replacement operations. This field appears for: Instances with root volume replacements through Instance Refresh Instances launched with AMI overrides This field won't appear for: Existing instances launched from Launch Templates without overrides Existing instances that didn’t have their root volume replaced through Instance Refresh
*)protectedFromScaleIn : InstanceProtected.t option;Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
*)weightedCapacity : XmlStringMaxLen32.t option;The number of capacity units contributed by the instance based on its instance type. Valid Range: Minimum value of 1. Maximum value of 999.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of InstanceProtected.t
| `Enum of string
| `String of XmlStringMaxLen19.t
| `Structure of (string * [> `String of XmlStringMaxLen255.t ]) list ])
list ]