var proxy = require('proxy-agent'); AWS.config.update({ httpOptions: { agent: proxy('http://internal.proxy.com') } });