[Python] Can we upload an image to S3 using a presigned URL generated via AWS AppSync?

Discussão em 'Python' iniciado por Stack, Março 13, 2025.

  1. Stack

    Stack Membro Participativo

    I have set up an AWS architecture where:


    1. AWS Lambda generates a presigned URL for an S3 bucket.


    2. The Lambda function is connected to AWS AppSync, which returns the presigned URL to the client.


    3. I can successfully download files using the generated presigned URL.

    Now, my question is:


    • Can I use the generated presigned URL to upload an image (or any file) directly to S3?


    • If yes, how can I upload the file using the presigned URL in the APPSYNC is that possible to upload through APPSYNC

    I want to confirm if the presigned URL allows both download and upload operations when generated via AppSync.

    Any guidance or examples would be greatly appreciated!

    Continue reading...

Compartilhe esta Página