stratosphere-0.1.6: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.ScheduledAction

Description

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.

Synopsis

Documentation

data ScheduledAction Source #

Full data type definition for ScheduledAction. See scheduledAction for a more convenient constructor.

Instances

Show ScheduledAction Source # 
Generic ScheduledAction Source # 
FromJSON ScheduledAction Source # 
ToJSON ScheduledAction Source # 
type Rep ScheduledAction Source # 
type Rep ScheduledAction = D1 (MetaData "ScheduledAction" "Stratosphere.Resources.ScheduledAction" "stratosphere-0.1.6-LbRvRulwTkCDVIpKnpH4uK" False) (C1 (MetaCons "ScheduledAction" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_scheduledActionAutoScalingGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) ((:*:) (S1 (MetaSel (Just Symbol "_scheduledActionDesiredCapacity") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) (S1 (MetaSel (Just Symbol "_scheduledActionEndTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_scheduledActionMaxSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) (S1 (MetaSel (Just Symbol "_scheduledActionMinSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer'))))) ((:*:) (S1 (MetaSel (Just Symbol "_scheduledActionRecurrence") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_scheduledActionStartTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))))))

scheduledAction Source #

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.