amazonka-opsworks-1.2.0.1: Amazon OpsWorks 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.OpsWorks.SetTimeBasedAutoScaling

Contents

Description

Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

See: AWS API Reference for SetTimeBasedAutoScaling.

Synopsis

Creating a Request

setTimeBasedAutoScaling Source

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

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

Request Lenses

stbasAutoScalingSchedule :: Lens' SetTimeBasedAutoScaling (Maybe WeeklyAutoScalingSchedule) Source

An AutoScalingSchedule with the instance schedule.

Destructuring the Response

setTimeBasedAutoScalingResponse :: SetTimeBasedAutoScalingResponse Source

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