made the presigned url middleware

This commit is contained in:
2025-11-21 14:53:53 +05:30
parent 926ea67e41
commit e21ffd08f1
5 changed files with 392 additions and 0 deletions

View File

@@ -5,6 +5,14 @@ provider:
runtime: nodejs20.x
region: ap-south-1
versionFunctions: false
iamRoleStatements:
- Effect: Allow
Action:
- s3:GetObject
- s3:ListBucket
Resource:
- arn:aws:s3:::minglar-dev-bucket
- arn:aws:s3:::minglar-dev-bucket/*
apiGateway:
binaryMediaTypes: