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
console.log('Checking newly uploaded file'); | |
var AWS = require('aws-sdk'); | |
var s3 = new AWS.S3({apiVersion: '2006-03-01'}); | |
var eltr = new AWS.ElasticTranscoder({ | |
apiVersion: '2012-09-25', | |
region: 'us-east-1' | |
}); | |
// ID of pipeline | |
var pipelineId = 'myID'; | |
// ID of ET's web output preset |