-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
38 lines (33 loc) · 785 Bytes
/
Copy pathserverless.yml
File metadata and controls
38 lines (33 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
org: gunasekhar
app: irismllambda-app
service: irismllambda
frameworkVersion: ">=1.2.0 <2.0.0"
plugins:
- serverless-python-requirements
provider:
name: aws
region: us-east-1
runtime: python3.6
memorySize: 1536
timeout: 60
iamRoleStatements:
- Effect: "Allow"
Action:
- "s3:ListBucket"
Resource:
- arn:aws:s3:::sagemaker-us-east-1-298573704325
- Effect: "Allow"
Action:
- "s3:GetObject"
Resource:
- arn:aws:s3:::sagemaker-us-east-1-298573704325/*
custom:
pythonRequirements:
slim : true
functions:
irismllambda:
name: irismllambda
description : deploy trained lightgbm on aws lambda using serverless
handler: index.handler
events :
- http : POST /invocations