""" Omar A Omar This function returns a static page from a Lambda function """ def lambda_handler(event, context): response = { "statusCode": 200, "statusDescription": "200 OK", "isBase64Encoded": False, "headers": { "Content-Type": "text/html; charset=utf-8" } } response['body'] = """ Lambda URL

Hello AWS Community Builders

I'm a static web page running on a Lambda function. Thank you CDK for Terraform for letting me do my moves.

""" return response