Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.
configservice_get_compliance_details_by_resource(ResourceType,
ResourceId, ComplianceTypes, 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 type of the AWS resource for which you want compliance information.
[required] The ID of the AWS resource for which you want compliance information.
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
.
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_resource(
ResourceType = "string",
ResourceId = "string",
ComplianceTypes = list(
"COMPLIANT"|"NON_COMPLIANT"|"NOT_APPLICABLE"|"INSUFFICIENT_DATA"
),
NextToken = "string"
)