AutoScalingInstanceDetails
Describes an EC2 instance associated with an Auto Scaling group.
Contents
- AutoScalingGroupName
-
The name of the Auto Scaling group for the instance.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: Yes
- AvailabilityZone
-
The Availability Zone for the instance.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: Yes
- HealthStatus
-
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.Type: String
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: Yes
- InstanceId
-
The ID of the instance.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 19.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: Yes
- LifecycleState
-
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
|Terminated
|Detaching
|Detached
|EnteringStandby
|Standby
|Warmed:Pending
|Warmed:Pending:Wait
|Warmed:Pending:Proceed
|Warmed:Terminating
|Warmed:Terminating:Wait
|Warmed:Terminating:Proceed
|Warmed:Terminated
|Warmed:Stopped
|Warmed:Running
Type: String
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: Yes
- ProtectedFromScaleIn
-
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
Type: Boolean
Required: Yes
- InstanceType
-
The instance type of the EC2 instance.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: No
- LaunchConfigurationName
-
The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
Required: No
- LaunchTemplate
-
The launch template for the instance.
Type: LaunchTemplateSpecification object
Required: No
- WeightedCapacity
-
The number of capacity units contributed by the instance based on its instance type.
Valid Range: Minimum value of 1. Maximum value of 999.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 3.
Pattern:
^[\u0031-\u0039][\u0030-\u0039]{0,2}$
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: