eb-mock
v0.0.5
Published
Mock API for AWS ElasticBeanstalk
Downloads
12
Readme
eb-mock
Mock API for AWS ElasticBeanstalk.
An API mimicking aws-sdk's ElasticBeanstalk wrapper.
Implements all ElasticBeanstalk operations, except the following methods, which are noops of consistent param
, callback
signatures:
- CheckDNSAvailability
- CreateConfigurationTemplate
- CreateStorageLocation
- DeleteApplicationVersion
- DeleteConfigurationTemplate
- DeleteEnvironmentConfiguration
- DescribeEvents
- DescribeConfigurationOptions
- DescribeConfigurationSettings
- DescribeEnvironmentResource
- RebuildEnvironment
- RetrieveEnvironmentInfo
- RequestEnvironmentInfo
- RestartAppServer
- UpdateConfigurationTemplate
- UpdateApplicationVersion
- ValidateConfigurationSettings
Examples
var EB = require("eb-mock");
var fakeCreds = {};
var eb = new EB(fakeCreds);
eb.createApplication({
ApplicationName: "my app"
}, function (err, data) {
console.log(data);
});
Testing
npm test
TODO
- Add other methods as needed
- Perfect parity with AWS errors
License
Copyright (c) 2014 Jordan Santell