amazonka-autoscaling-1.3.3.1: Amazon Auto Scaling SDK.

Copyright(c) 2013-2015 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.SuspendProcesses

Contents

Description

Suspends the specified Auto Scaling processes for the specified Auto Scaling group. To suspend specific processes, use the ScalingProcesses parameter. To suspend all processes, omit the ScalingProcesses parameter.

Note that if you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly.

To resume processes that have been suspended, use ResumeProcesses.

For more information, see Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide.

See: AWS API Reference for SuspendProcesses.

Synopsis

Creating a Request

suspendProcesses Source

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

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

Request Lenses

spScalingProcesses :: Lens' SuspendProcesses [Text] Source

One or more of the following processes:

  • Launch
  • Terminate
  • HealthCheck
  • ReplaceUnhealthy
  • AZRebalance
  • AlarmNotification
  • ScheduledActions
  • AddToLoadBalancer

spAutoScalingGroupName :: Lens' SuspendProcesses Text Source

The name or Amazon Resource Name (ARN) of the Auto Scaling group.

Destructuring the Response

suspendProcessesResponse :: SuspendProcessesResponse Source

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