Amazon S3 upload file and get URL

后端 未结 9 1536
醉酒成梦
醉酒成梦 2020-12-23 03:05

Is it possible to upload a txt/pdf/png file to Amazon S3 in a single action, and get the uploaded file URL as the response. If so, is AWS Java SDK the right library that I n

9条回答
  •  北海茫月
    2020-12-23 03:29

            System.out.println("Link : " + s3Object.getObjectContent().getHttpRequest().getURI());
    

    with this you can retrieve the link of already uploaded file to S3 bucket.

提交回复
热议问题