amazonka-autoscaling-1.4.0: Amazon Auto Scaling SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AutoScaling.AttachInstances

Contents

Description

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.

Synopsis

Creating a Request

attachInstances Source

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:

Request Lenses

aiInstanceIds :: Lens' AttachInstances [Text] Source

One or more instance IDs.

Destructuring the Response

attachInstancesResponse :: AttachInstancesResponse Source

Creates a value of AttachInstancesResponse with the minimum fields required to make a request.