Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AutoScalingInstanceDetails = AutoScalingInstanceDetails' {}
- newAutoScalingInstanceDetails :: Text -> Text -> Text -> Text -> Text -> Bool -> AutoScalingInstanceDetails
- autoScalingInstanceDetails_weightedCapacity :: Lens' AutoScalingInstanceDetails (Maybe Text)
- autoScalingInstanceDetails_instanceType :: Lens' AutoScalingInstanceDetails (Maybe Text)
- autoScalingInstanceDetails_launchConfigurationName :: Lens' AutoScalingInstanceDetails (Maybe Text)
- autoScalingInstanceDetails_launchTemplate :: Lens' AutoScalingInstanceDetails (Maybe LaunchTemplateSpecification)
- autoScalingInstanceDetails_instanceId :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_autoScalingGroupName :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_availabilityZone :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_lifecycleState :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_healthStatus :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_protectedFromScaleIn :: Lens' AutoScalingInstanceDetails Bool
Documentation
data AutoScalingInstanceDetails Source #
Describes an EC2 instance associated with an Auto Scaling group.
See: newAutoScalingInstanceDetails
smart constructor.
AutoScalingInstanceDetails' | |
|
Instances
newAutoScalingInstanceDetails Source #
Create a value of AutoScalingInstanceDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:weightedCapacity:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_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.
$sel:instanceType:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_instanceType
- The instance type of the EC2 instance.
$sel:launchConfigurationName:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_launchConfigurationName
- The launch configuration used to launch the instance. This value is not
available if you attached the instance to the Auto Scaling group.
$sel:launchTemplate:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_launchTemplate
- The launch template for the instance.
$sel:instanceId:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_instanceId
- The ID of the instance.
$sel:autoScalingGroupName:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_autoScalingGroupName
- The name of the Auto Scaling group for the instance.
$sel:availabilityZone:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_availabilityZone
- The Availability Zone for the instance.
$sel:lifecycleState:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_lifecycleState
- The lifecycle state for the instance. The Quarantined
state is not
used. For information about lifecycle states, see
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
$sel:healthStatus:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_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.
$sel:protectedFromScaleIn:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_protectedFromScaleIn
- Indicates whether the instance is protected from termination by Amazon
EC2 Auto Scaling when scaling in.
autoScalingInstanceDetails_weightedCapacity :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #
The number of capacity units contributed by the instance based on its instance type.
Valid Range: Minimum value of 1. Maximum value of 999.
autoScalingInstanceDetails_instanceType :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #
The instance type of the EC2 instance.
autoScalingInstanceDetails_launchConfigurationName :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #
The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.
autoScalingInstanceDetails_launchTemplate :: Lens' AutoScalingInstanceDetails (Maybe LaunchTemplateSpecification) Source #
The launch template for the instance.
autoScalingInstanceDetails_instanceId :: Lens' AutoScalingInstanceDetails Text Source #
The ID of the instance.
autoScalingInstanceDetails_autoScalingGroupName :: Lens' AutoScalingInstanceDetails Text Source #
The name of the Auto Scaling group for the instance.
autoScalingInstanceDetails_availabilityZone :: Lens' AutoScalingInstanceDetails Text Source #
The Availability Zone for the instance.
autoScalingInstanceDetails_lifecycleState :: Lens' AutoScalingInstanceDetails Text Source #
The lifecycle state for the instance. The Quarantined
state is not
used. For information about lifecycle states, see
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
autoScalingInstanceDetails_healthStatus :: Lens' AutoScalingInstanceDetails Text Source #
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.
autoScalingInstanceDetails_protectedFromScaleIn :: Lens' AutoScalingInstanceDetails Bool Source #
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.