Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HelloWorldLambdFunction:
- Type: AWS::Lambda::Function
- Properties:
- FunctionName: helloWorldLambdFunction
- Handler: index.hello
- Runtime: python3.6
- Role: !GetAtt LambdaBasicExecutionRole.Arn
- Tags:
- - Key: Name
- Value: Resource created by AWS Cloud Formation Template.
- Code:
- ZipFile: |
- def hello(event, context):
- return { "statusCode":200, "body":"Hello World, I was created using AWS Cloud Formation."}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement