Created
July 23, 2020 17:44
-
-
Save thanakijwanavit/1afd82768de7962e07c1ea8b76fe7241 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| AWSTemplateFormatVersion: '2010-09-09' | |
| Transform: AWS::Serverless-2016-10-31 | |
| Description: > | |
| villa-remove-bg | |
| Sample SAM Template for villa-remove-bg | |
| # More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst | |
| Globals: | |
| Function: | |
| Timeout: 3 | |
| Resources: | |
| ExecuteBgRemove: | |
| Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction | |
| Properties: | |
| CodeUri: remove-bg/ | |
| Handler: app.removeAll | |
| Runtime: python3.8 | |
| Events: | |
| S3Upload: | |
| Type: S3 | |
| Properties: | |
| Bucket: "villa-background-remove" | |
| Events: s3:ObjectCreated:* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment