Wondering what’s next for npm?Check out our public roadmap! »

    eb-mock

    0.0.5 • Public • Published

    eb-mock Build Status

    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

    Install

    npm i eb-mock

    DownloadsWeekly Downloads

    1

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • avatar