GetComplianceSummaryByConfigRule
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
Response Syntax
{
"ComplianceSummary": {
"ComplianceSummaryTimestamp": number,
"CompliantResourceCount": {
"CapExceeded": boolean,
"CappedCount": number
},
"NonCompliantResourceCount": {
"CapExceeded": boolean,
"CappedCount": number
}
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ComplianceSummary
-
The number of AWS Config rules that are compliant and the number that are noncompliant, up to a maximum of 25 for each.
Type: ComplianceSummary object
Errors
For information about the errors that are common to all actions, see Common Errors.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: