AWS Cloudformation templates in python