Advertisement
Guest User

Untitled

a guest
Aug 26th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. HelloWorldLambdFunction:
  2. Type: AWS::Lambda::Function
  3. Properties:
  4. FunctionName: helloWorldLambdFunction
  5. Handler: index.hello
  6. Runtime: python3.6
  7. Role: !GetAtt LambdaBasicExecutionRole.Arn
  8. Tags:
  9. - Key: Name
  10. Value: Resource created by AWS Cloud Formation Template.
  11. Code:
  12. ZipFile: |
  13. def hello(event, context):
  14. return { "statusCode":200, "body":"Hello World, I was created using AWS Cloud Formation."}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement