Cloud Formation Lambda Function Syntax In Python