AWS CloudFormation now supports AWS IoT Core thing group, thing type and billing group resources. AWS CloudFormation is an infrastructure as code (IaC) service that allows you to easily model, provision, and manage AWS and third-party resources. You can now use an AWS CloudFormation template to pre-configure and deploy AWS IoT Core registry resources for your targeted Internet of Things (IoT) solution in a secure, efficient, and repeatable way.
Source:: Amazon AWS