Skip to content

Instantly share code, notes, and snippets.

@mand2
Last active September 2, 2020 14:13
Show Gist options
  • Save mand2/c80d737ff84b1b01f6b510dad4eaa01e to your computer and use it in GitHub Desktop.
Save mand2/c80d737ff84b1b01f6b510dad4eaa01e to your computer and use it in GitHub Desktop.
const aws = require('aws-sdk');
// autoScaling 객체 생성
let autoScaling = new aws.autoScaling({region: {my_region}});
var params = {
AutoScalingGroupNames: [
'STRING_VALUE',
/* more items */
],
MaxRecords: 'NUMBER_VALUE',
NextToken: 'STRING_VALUE'
};
autoScaling.describeAutoScalingGroups(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment