Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

CloudFormation Client

SaltwaterC edited this page · 1 revision

Client loader

aws.load('cloudformation', [accessKeyId], [secretAccessKey])

Available low level method

cloudformation.request(action, [query], callback)

The 'action' argument is the action required by the CloudFormation query API itself.

Available helpers

Usage mode

// init the client
var cloudformation = require('aws2js').load('cloudformation', accessKeyId, secretAccessKey);

// call something of the CloudFormation query API
cloudformation.request('action', {foo: 'bar'}, function (error, response) {
    if (error) {
        console.error(error);
    } else {
        console.log(response);
    }
});
Something went wrong with that request. Please try again.