class AWS::AutoScaling::ScheduledAction

def update options = {}

Returns:
  • (nil) -

Options Hash: (**options)
  • :max_size (Integer) --
  • :min_size (Integer) --
  • :end_time (Time, String) --
  • :start_time (Time, String) --
  • :recurrence (String) --
  • :desired_capacity (Integer) --

Parameters:
  • options (Hash) --
def update options = {}
  options.update(resource_options)
  # convert times to formatted strings
  [:start_time, :end_time].each do |opt|
    if options[opt].is_a?(Time)
      options[opt] = options[opt].iso8601
    end
  end
  client.put_scheduled_update_group_action(options)
  nil
end