"use strict";

var server = require('./lib/server');
module.exports = server;

module.exports.patchClient = function(aws){
    aws.config.update({
        'accessKeyId': 'AKID',
        'secretAccessKey': 'SECRET',
        'region': 'us-east-1',
        'endpoint': 'http://localhost:8080'
    });
    return aws;
};
@@ -117,10 +117,42 @@
 (aws
-)%7B
+, port)%7B%0A    port = port %7C%7C 8080;%0A
 %0A   
@@ -313,13 +313,16 @@
 ost:
-8080'
+' + port
 %0A   

Allow specifying custom port.