For accurate reporting on the compliance status, you must record the AWS::Config::ResourceCompliance resource type
Useful links