Skip to content

Instantly share code, notes, and snippets.

@adrians5j
Created March 10, 2019 14:42
Show Gist options
  • Save adrians5j/80cf3182ba1b60181a461eb7f2b6acca to your computer and use it in GitHub Desktop.
Save adrians5j/80cf3182ba1b60181a461eb7f2b6acca to your computer and use it in GitHub Desktop.
s3PresignedPostData-Serverless
service: presignedPostData
provider:
name: aws
runtime: nodejs8.10
functions:
getPresignedPostData:
handler: handler.getPresignedPostData
events:
- http:
path: presigned-post-data
method: get
cors: true
@acaeti
Copy link

acaeti commented Aug 27, 2019

Would be great to see you define the S3 bucket and IAM Role permission for the function in this little bit, if you're up for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment