Created
September 23, 2020 09:13
-
-
Save apotox/49119be3e32dd015fd251668b4c00a40 to your computer and use it in GitHub Desktop.
ImageWatermark yaml definition
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
ImageWatermark: | |
handler: ImageWatermark | |
events: | |
- s3: | |
existing: true | |
bucket: ${self:custom.configs.UPLOAD_BUCKET} | |
event: s3:ObjectCreated:* | |
rules: | |
- suffix: .jpg | |
- s3: | |
existing: true | |
bucket: ${self:custom.configs.UPLOAD_BUCKET} | |
event: s3:ObjectCreated:* | |
rules: | |
- suffix: .jpeg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment