#****************************************************************************************** # Author - Nirmallya Mukherjee # This lambda function will act as the backend for the loadbalancer and must be in a separate # target group. You need to ensure that the healthcheck is enabled. # NOTE: turn healthy. Must have the path in LB as /lambda/ # Modified by Omar A Omar #****************************************************************************************** def lambda_handler(event, context): response = { "statusCode": 200, "statusDescription": "200 OK", "isBase64Encoded": False, "headers": { "Content-Type": "text/html; charset=utf-8" } } response['body'] = """ Hello Lambda!

Hello Friend!

My Web-Backend Lambda

""" return response