Created
March 10, 2019 14:42
-
-
Save adrians5j/80cf3182ba1b60181a461eb7f2b6acca to your computer and use it in GitHub Desktop.
s3PresignedPostData-Serverless
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: presignedPostData | |
provider: | |
name: aws | |
runtime: nodejs8.10 | |
functions: | |
getPresignedPostData: | |
handler: handler.getPresignedPostData | |
events: | |
- http: | |
path: presigned-post-data | |
method: get | |
cors: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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