How to use the CloudTrail function from aws-sdk

Find comprehensive JavaScript aws-sdk.CloudTrail code examples handpicked from public code repositorys.

-3
fork icon0
star icon0
watch icon0

+ 2 other calls in file

0
1
2
3
4
5
6
7
8
9
10
11
var AWS = require('aws-sdk');
var async = require('async');
var helpers = require(__dirname + '/../../../helpers/aws');


module.exports = function(AWSConfig, collection, retries, callback) {
    var cloudtrail = new AWS.CloudTrail(AWSConfig);


    async.eachLimit(collection.cloudtrail.describeTrails[AWSConfig.region].data, 15, function(trail, cb) {
        var params = {
            ResourceIdList: [trail.TrailARN]
fork icon0
star icon0
watch icon0