Is there a way to generate a list programmatically of all aws [resource types](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) available in CloudFormation?

A resource type being ec2, s3...

Regards
Conteh