1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
if you access via https://s3-
you need to attach a signature to download the object or having the object public. In the case of s3.getObject
the user/role that is downloading the object just needs the permission s3:getObject of the object you are downloading.
s3.getObject
of the sdk is a wrapper of the REST Api call for S3, so overall they are both making an https request, but all depends from your case.
If the object is public and you don't want to use the sdk, then go with https://s3-
but if your object is not public I would suggest to use the sdk as it makes easier and cleaner (from code point of you) to download the file.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a 4 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
Thanks Miki, my question was only about billing. Let me rephrase the title.