I am using Amazon S3 to store images for my web app and iOS app.
I wonder if I can safely hardcode my bucket URL when fetching the images? So that I don't have to make one more API call just to fetch my URL.
For example, hardcoding this in my apps code:
https://s3.eu-central-1.amazonaws.com/mybucket/images/{some_var}
Yes should be safe.
If this did change then it would break.. so much. AWS service name, region, domain are unlikely to change. The other parts of the URL are under your control.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With