Values.AutoScalingInstanceDetailsSourceDescribes an EC2 instance associated with an Auto Scaling group.
type nonrec t = {instanceId : XmlStringMaxLen19.t option;The ID of the instance.
*)instanceType : XmlStringMaxLen255.t option;The instance type of the EC2 instance.
*)autoScalingGroupName : XmlStringMaxLen255.t option;The name of the Auto Scaling group for the instance.
*)availabilityZone : XmlStringMaxLen255.t option;The Availability Zone for the instance.
*)availabilityZoneId : XmlStringMaxLen255.t option;The Availability Zone ID where the instance is located.
*)lifecycleState : XmlStringMaxLen32.t option;The lifecycle state for the instance. The Quarantined state is not used. For more information, see Amazon EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User Guide. Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminating:Retained | Terminated | Detaching | Detached | EnteringStandby | Standby | ReplacingRootVolume | ReplacingRootVolume:Wait | ReplacingRootVolume:Proceed | RootVolumeReplaced | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Pending:Retained | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminating:Retained | Warmed:Terminated | Warmed:Stopped | Warmed:Running | Warmed:Hibernated
*)healthStatus : XmlStringMaxLen32.t option;The last reported health status of this instance. Healthy means that the instance is healthy and should remain in service. Unhealthy means that the instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.
*)launchConfigurationName : XmlStringMaxLen255.t option;The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.
*)launchTemplate : LaunchTemplateSpecification.t option;The launch template for the instance.
*)imageId : XmlStringMaxLen255.t option;The ID of the Amazon Machine Image (AMI) associated with the instance. This field shows the current AMI ID of the instance's root volume. It may differ from the original AMI used when the instance was first launched. 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 make :
?instanceId:??? ->
?instanceType:??? ->
?autoScalingGroupName:??? ->
?availabilityZone:??? ->
?availabilityZoneId:??? ->
?lifecycleState:??? ->
?healthStatus:??? ->
?launchConfigurationName:??? ->
?launchTemplate:??? ->
?imageId:??? ->
?protectedFromScaleIn:??? ->
?weightedCapacity:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of InstanceProtected.t
| `String of XmlStringMaxLen19.t
| `Structure of (string * [> `String of XmlStringMaxLen255.t ]) list ])
list ]