Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Attaches one or more EC2 instances to the specified Auto Scaling group.
When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.
For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling Developer Guide.
Creating a Request
Creates a value of AttachInstances
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachInstances Source #
See: attachInstances
smart constructor.
Request Lenses
aiInstanceIds :: Lens' AttachInstances [Text] Source #
One or more instance IDs.
aiAutoScalingGroupName :: Lens' AttachInstances Text Source #
The name of the group.
Destructuring the Response
attachInstancesResponse :: AttachInstancesResponse Source #
Creates a value of AttachInstancesResponse
with the minimum fields required to make a request.
data AttachInstancesResponse Source #
See: attachInstancesResponse
smart constructor.