Neel Choudhury Neel Choudhury - 6 months ago 76
Java Question

Get URL(link) of a public S3 object programmatically

I am storing one public object in AWS S3 bucket using given java API in my server
Now i need to return back the public URL of the S3 object to my client

Till now i have'nt found any API call that can return the public URL(or link field) of a S3 object

Is there any way to get the URL??

 s3Url = s3Client.getResourceUrl(bucket, s3RelativeToBucketPath);