Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
configservice_get_compliance_details_by_config_rule(ConfigRuleName,
ComplianceTypes, Limit, NextToken)
A list with the following syntax:
list(
EvaluationResults = list(
list(
EvaluationResultIdentifier = list(
EvaluationResultQualifier = list(
ConfigRuleName = "string",
ResourceType = "string",
ResourceId = "string"
),
OrderingTimestamp = as.POSIXct(
"2015-01-01"
)
),
ComplianceType = "COMPLIANT"|"NON_COMPLIANT"|"NOT_APPLICABLE"|"INSUFFICIENT_DATA",
ResultRecordedTime = as.POSIXct(
"2015-01-01"
),
ConfigRuleInvokedTime = as.POSIXct(
"2015-01-01"
),
Annotation = "string",
ResultToken = "string"
)
),
NextToken = "string"
)
[required] The name of the AWS Config rule for which you want compliance information.
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
.
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, AWS Config uses the default.
The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
svc$get_compliance_details_by_config_rule(
ConfigRuleName = "string",
ComplianceTypes = list(
"COMPLIANT"|"NON_COMPLIANT"|"NOT_APPLICABLE"|"INSUFFICIENT_DATA"
),
Limit = 123,
NextToken = "string"
)