Skip to content

/AWS1/CL_CFS=>GETCPLNCDETAILSBYCONFIGRULE()

About GetComplianceDetailsByConfigRule

Returns the evaluation results for the specified Config rule. The results indicate which Amazon Web Services resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.

Method Signature

IMPORTING

Required arguments:

IV_CONFIGRULENAME TYPE /AWS1/CFSSTRINGWITHCHARLIMIT64 /AWS1/CFSSTRINGWITHCHARLIMIT64

The name of the Config rule for which you want compliance information.

Optional arguments:

IT_COMPLIANCETYPES TYPE /AWS1/CL_CFSCOMPLIANCETYPES_W=>TT_COMPLIANCETYPES TT_COMPLIANCETYPES

Filters the results by compliance.

INSUFFICIENT_DATA is a valid ComplianceType that is returned when an Config rule cannot be evaluated. However, INSUFFICIENT_DATA cannot be used as a ComplianceType for filtering results.

IV_LIMIT TYPE /AWS1/CFSLIMIT /AWS1/CFSLIMIT

The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.

IV_NEXTTOKEN TYPE /AWS1/CFSNEXTTOKEN /AWS1/CFSNEXTTOKEN

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CFSGETCPLNCDETSBYCF01 /AWS1/CL_CFSGETCPLNCDETSBYCF01