Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
service: image-resizer
plugins:
- serverless-apigw-binary
- serverless-apigwy-binary
custom:
apigwBinary:
types:
- 'image/jpeg'
provider:
name: aws
runtime: nodejs6.10
functions:
resize:
handler: lib/resize
events:
- http:
method: get
path: resize
contentHandling: CONVERT_TO_BINARY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment