class AWS::AutoScaling::ScheduledActionCollection
def create name, options = {}
-
(ScheduledAction)
-
Options Hash:
(**options)
-
:end_time
(Time
) -- -
:start_time
(Time
) -- -
:recurrence
(String
) -- -
:min_size
(Integer
) -- -
:max_size
(Integer
) -- -
:desired_capacity
(Integer
) -- -
:group
(Group, String
) --
Parameters:
-
options
(Hash
) -- -
name
(String
) --
def create name, options = {} group = auto_scaling_group(options) scheduled_action = ScheduledAction.new(group, name, :auto_scaling_group_name => group.name, :config => config) scheduled_action.update(options) scheduled_action end