let s3 = new AWS.S3();
s3.putObject({
Bucket: "cdn-devops1-default-gamedev.******.***",
Key: "blyad.txt",
Body: "Govno RABOTAY!",
ACL: 'public-read',
ContentType: 'text/html'
},
function (err, data) {
if (err) {
console.log(err)
} else {
console.log('Successfully uploaded');
}
});