The CloudFormation Provider Development Toolkit Python Plugin allows you to autogenerate Python code based on an input schema.
Repo aws-cloudformation/cloudformation-cli-python-plugin, read from GitHub 15 min ago. aws-cloudformation has not joined Take My Repo.
Be the first to say whether it worked. Stars on GitHub say a project is popular; reviews say what happened when someone ran it.