score:0

Accepted answer
      //Creating object push request
      var putObj:PutObjectRequest = new PutObjectRequest(bucketName, "fooDir/"+imageName+".png", imageStream, objMetaData)
      //Providing object with public read-only permission
      //putObj.setCannedAcl(CannedAccessControlList.PublicRead) , depends upon your need
      //Pushing the object
      amazonS3Client.putObject(putObj)

Related Query

More Query from same tag