amazonka-opsworks-1.3.0: Amazon OpsWorks SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




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.


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.