terraform/ecc-aws-337-lambda_variables_encrypted_with_kms_cmk/red/func.py (6 lines of code) (raw):

import json def lambda_handler(event, context): # TODO implement return { 'statusCode': 200, 'body': json.dumps('Hello from Lambda!') }