Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- functions:
- myfun:
- runtime: python3.6
- module: fun1
- handler: get_predictions/handler.lambda_handler
- memorySize: 768
- timeout: 30
- exclude:
- - requirements.txt
- - myfun.yml
- iamRoleStatements:
- - Effect: "Allow"
- Action:
- - "s3:GetObject"
- Resource: arn:aws:s3:::mybucket/*
- events:
- - http:
- path: /ml/comp-pred/get-prediction
- method: post
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement