Is there a handy way to get the s3 url of the given key and bucket? #965
Answered
by
maciejwalkowiak
kunalvarpe
asked this question in
Q&A
-
I do not see any api which directly return the s3 URL. The way is to get the object using s3 template and then construct the URL. |
Beta Was this translation helpful? Give feedback.
Answered by
maciejwalkowiak
Nov 17, 2023
Replies: 1 comment 2 replies
-
Perhaps |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kunalvarpe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perhaps
S3Resource#getURL
would do the job for you? https://docs.awspring.io/spring-cloud-aws/docs/3.0.3/apidocs/io/awspring/cloud/s3/S3Resource.html