This CloudFormation template creates an AWS Config configuration recorder and delivery channel, along with the necessary IAM roles and S3 bucket. The template enables the recording of all supported resource types and allows AWS Config to put objects in the specified S3 bucket.

CloudFormation Template