Last active
September 2, 2020 14:13
-
-
Save mand2/c80d737ff84b1b01f6b510dad4eaa01e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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