Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a scheduled scaling action for an Auto Scaling group, changing the number of servers available for your application in response to predictable load changes.
- data ScheduledAction = ScheduledAction {
- _scheduledActionAutoScalingGroupName :: Val Text
- _scheduledActionDesiredCapacity :: Maybe (Val Integer')
- _scheduledActionEndTime :: Maybe (Val Text)
- _scheduledActionMaxSize :: Maybe (Val Integer')
- _scheduledActionMinSize :: Maybe (Val Integer')
- _scheduledActionRecurrence :: Maybe (Val Text)
- _scheduledActionStartTime :: Maybe (Val Text)
- scheduledAction :: Val Text -> ScheduledAction
- saAutoScalingGroupName :: Lens' ScheduledAction (Val Text)
- saDesiredCapacity :: Lens' ScheduledAction (Maybe (Val Integer'))
- saEndTime :: Lens' ScheduledAction (Maybe (Val Text))
- saMaxSize :: Lens' ScheduledAction (Maybe (Val Integer'))
- saMinSize :: Lens' ScheduledAction (Maybe (Val Integer'))
- saRecurrence :: Lens' ScheduledAction (Maybe (Val Text))
- saStartTime :: Lens' ScheduledAction (Maybe (Val Text))
Documentation
data ScheduledAction Source #
Full data type definition for ScheduledAction. See scheduledAction
for
a more convenient constructor.
Constructor for ScheduledAction
containing required fields as
arguments.
saAutoScalingGroupName :: Lens' ScheduledAction (Val Text) Source #
The name or ARN of the Auto Scaling group.
saDesiredCapacity :: Lens' ScheduledAction (Maybe (Val Integer')) Source #
The number of Amazon EC2 instances that should be running in the Auto Scaling group.
saEndTime :: Lens' ScheduledAction (Maybe (Val Text)) Source #
The time in UTC for this schedule to end. For example, 2010-06-01T00:00:00Z.
saMaxSize :: Lens' ScheduledAction (Maybe (Val Integer')) Source #
The maximum number of Amazon EC2 instances in the Auto Scaling group.
saMinSize :: Lens' ScheduledAction (Maybe (Val Integer')) Source #
The minimum number of Amazon EC2 instances in the Auto Scaling group.
saRecurrence :: Lens' ScheduledAction (Maybe (Val Text)) Source #
The time in UTC when recurring future actions will start. You specify the start time by following the Unix cron syntax format. For more information about cron syntax, go to http://en.wikipedia.org/wiki/Cron. Specifying the StartTime and EndTime properties with Recurrence property forms the start and stop boundaries of the recurring action.
saStartTime :: Lens' ScheduledAction (Maybe (Val Text)) Source #
The time in UTC for this schedule to start. For example, 2010-06-01T00:00:00Z.