https://docs.aws.amazon.com/config/latest/APIReference/API_GetComplianceSummaryByResourceType.html
GetComplianceSummaryByResourceType - AWS Config
Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for...
awsconfig