📜  cloudwatch 日志 SDK. - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:26.211000             🧑  作者: Mango

代码示例1
var params = {
  logGroupName: 'STRING_VALUE', /* required */
  logStreamName: 'STRING_VALUE' /* required */
};
cloudwatchlogs.createLogStream(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});