AutoScalingInstanceDetails class

Describes an EC2 instance associated with an Auto Scaling group.

Constructors

AutoScalingInstanceDetails({required String autoScalingGroupName, required String availabilityZone, required String healthStatus, required String instanceId, required String lifecycleState, required bool protectedFromScaleIn, String? instanceType, String? launchConfigurationName, LaunchTemplateSpecification? launchTemplate, String? weightedCapacity})
AutoScalingInstanceDetails.fromXml(XmlElement elem)
factory

Properties

autoScalingGroupName String
The name of the Auto Scaling group for the instance.
final
availabilityZone String
The Availability Zone for the instance.
final
hashCode int
The hash code for this object.
no setterinherited
healthStatus String
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.
final
instanceId String
The ID of the instance.
final
instanceType String?
The instance type of the EC2 instance.
final
launchConfigurationName String?
The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.
final
launchTemplate LaunchTemplateSpecification?
The launch template for the instance.
final
lifecycleState String
The lifecycle state for the instance.
final
protectedFromScaleIn bool
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weightedCapacity String?
The number of capacity units contributed by the instance based on its instance type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited