Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.49 KB | None | 0 0
  1. functions:
  2.   myfun:
  3.       runtime: python3.6
  4.       module: fun1
  5.       handler: get_predictions/handler.lambda_handler
  6.       memorySize: 768
  7.       timeout: 30
  8.         exclude:
  9.          - requirements.txt
  10.           - myfun.yml
  11.        
  12.       iamRoleStatements:
  13.         - Effect: "Allow"
  14.           Action:
  15.            - "s3:GetObject"
  16.           Resource: arn:aws:s3:::mybucket/*
  17.       events:
  18.         - http:
  19.             path: /ml/comp-pred/get-prediction
  20.             method: post
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement