Neel Choudhury Neel Choudhury - 1 year ago 143
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??

Answer Source
 s3Url = s3Client.getResourceUrl(bucket, s3RelativeToBucketPath);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download