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.SetInstanceProtection

Contents

Description

Updates the instance protection settings of the specified instances.

For more information, see Instance Protection in the Auto Scaling Developer Guide.

Synopsis

Creating a Request

setInstanceProtection Source

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

Use one of the following lenses to modify other fields as desired:

Request Lenses

sipInstanceIds :: Lens' SetInstanceProtection [Text] Source

One or more instance IDs.

sipProtectedFromScaleIn :: Lens' SetInstanceProtection Bool Source

Indicates whether the instance is protected from termination by Auto Scaling when scaling in.

Destructuring the Response

setInstanceProtectionResponse Source

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

Use one of the following lenses to modify other fields as desired:

Response Lenses