- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hi majh -
Have you looked at downloading the artifact without a pre-signed URL? Greengrass provides your component with AWS credentials. See https://docs.aws.amazon.com/greengrass/v2/developerguide/interact-with-aws-services.html
Thanks, -joe
In case you have Python and Boto3 on the device you can use boto3
S3 client to download the file. The S3 client download_file
function is optimized for the download of large files and would be more efficient than using curl
or wget
with a presigned URL.
[1] https://boto3.amazonaws.com/v1/documentation/api/latest/guide/s3-example-download-file.html
Thanks - particularly for large files and mobile environments - is there any built-in functionality in here for continue/resume type operation - ie similar to 'curl -C -", or would this need to be implemented using something like 'aws s3api get-object with a --range option' and we need to handle the re-attempts on top of this ?
Contenus pertinents
- demandé il y a un an
- demandé il y a 5 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
Nice! I didn't realise that Greengrass provides credentials for the component. Thanks.