Login to follow
AWSS3PreSignedUploader

AWSS3PreSignedUploader (ODC)

Stable version 1.0.0 (Compatible with ODC)
Uploaded on 10 October 2025 by OutSystems Labs
AWSS3PreSignedUploader

AWSS3PreSignedUploader (ODC)

Documentation
1.0.0

To use this component you must have the following Pre-Requisites:

1 - An Access Key Id and a SecretAccessKey that can successfully access an S3 bucket (with configured policies in place)
(https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html,
https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html)

2 - Configure CORS policy on the bucket to allow direct requests coming in from your OutSystems application URL.
If CORS is not configured properly, this component will not work correctly
(https://docs.aws.amazon.com/AmazonS3/latest/userguide/enabling-cors-examples.html)

3 - Add a reference in your ODC App to AWSS3PreSignedUploader connector and include the features listed below.
- GetObjectPreSignedUrl: Create a pre-signed GET URL for an S3 object that will allow to download files securely and directly from S3.

- PutObjectPreSignedUrl : Create a pre-signed PUT URL for an S3 object that will allow to upload files securely and directly to S3.
- Supply the bucket, object key, and expiration (and content type for uploads)

Note:
For practical examples on how use this library client side review the "S3PreSignedFileUploadHelper" web block.