Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 462

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To get the compliance summary for your AWS Config rules**

The following command returns the number of rules that are compliant and the number that are noncompliant::

    aws configservice get-compliance-summary-by-config-rule

In the output, the value for each ``CappedCount`` attribute indicates how many rules are compliant or noncompliant.

Output::

    {
        "ComplianceSummary": {
            "NonCompliantResourceCount": {
                "CappedCount": 3,
                "CapExceeded": false
            },
            "ComplianceSummaryTimestamp": 1452204131.493,
            "CompliantResourceCount": {
                "CappedCount": 2,
                "CapExceeded": false
            }
        }
    }