Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
functions:
lambda:
handler: index.handler
memorySize: 512
timeout: 60
layers:
- {Ref: PhotoParserLibsLambdaLayer}
events:
- s3:
bucket: your-temporary-bucket-name
event: s3:ObjectCreated:*
rules:
- suffix: .jpg
existing: true
- s3:
bucket: your-temporary-bucket-name
event: s3:ObjectCreated:*
rules:
- suffix: .jpeg
existing: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment