NOTE: AwsSum is now deprecated. Please use aws-sdk instead.
This is an AwsSum
plugin!
You'll need to add awssum-amazon-cloudformation to your package.json dependencies. Both awssum and awssum-amazon are pulled in as peer dependencies.
var fmt = require('fmt');
var amazonCloudFormation = require('awssum-amazon-cloudformation');
var cf = new amazonCloudFormation.CloudFormation({
'accessKeyId' : process.env.ACCESS_KEY_ID,
'secretAccessKey' : process.env.SECRET_ACCESS_KEY,
'region' : amazonCloudFormation.US_EAST_1
});
cf.ListStacks(function(err, data) {
fmt.dump(err, 'err');
fmt.dump(data, 'data');
});
Docs: CreateStack on AWS
Docs: DeleteStack on AWS
Docs: DescribeStackEvents on AWS
Docs: DescribeStackResource on AWS
Docs: DescribeStackResources on AWS
Docs: DescribeStacks on AWS
Docs: EstimateTemplateCost on AWS
Docs: GetTemplate on AWS
Docs: ListStackResources on AWS
Docs: ListStacks on AWS
Docs: UpdateStack on AWS
Docs: ValidateTemplate on AWS
Written by Andrew Chilton - Blog - Twitter.
- Copyright 2011-2013 Apps Attic Ltd. All rights reserved.
- Copyright 2013 Andrew Chilton. All rights reserved.
(Ends)