Get Compliance Details by Resource
| configservice_get_compliance_details_by_resource | R Documentation |
Returns the evaluation results for the specified Amazon Web Services resource¶
Description¶
Returns the evaluation results for the specified Amazon Web Services resource. The results indicate which Config rules were used to evaluate the resource, when each rule was last invoked, and whether the resource complies with each rule.
Usage¶
configservice_get_compliance_details_by_resource(ResourceType,
ResourceId, ComplianceTypes, NextToken, ResourceEvaluationId)
Arguments¶
ResourceTypeThe type of the Amazon Web Services resource for which you want compliance information.
ResourceIdThe ID of the Amazon Web Services resource for which you want compliance information.
ComplianceTypesFilters the results by compliance.
INSUFFICIENT_DATAis a validComplianceTypethat is returned when an Config rule cannot be evaluated. However,INSUFFICIENT_DATAcannot be used as aComplianceTypefor filtering results.NextTokenThe
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.ResourceEvaluationIdThe unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
You need to only provide either a
ResourceEvaluationIDor aResourceIDandResourceType.
Value¶
A list with the following syntax:
list(
EvaluationResults = list(
list(
EvaluationResultIdentifier = list(
EvaluationResultQualifier = list(
ConfigRuleName = "string",
ResourceType = "string",
ResourceId = "string",
EvaluationMode = "DETECTIVE"|"PROACTIVE"
),
OrderingTimestamp = as.POSIXct(
"2015-01-01"
),
ResourceEvaluationId = "string"
),
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"
)