Put Evaluations
configservice_put_evaluations | R Documentation |
Used by an Lambda function to deliver evaluation results to Config¶
Description¶
Used by an Lambda function to deliver evaluation results to Config. This operation is required in every Lambda function that is invoked by an Config rule.
Usage¶
configservice_put_evaluations(Evaluations, ResultToken, TestMode)
Arguments¶
Evaluations |
The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function. |
ResultToken |
[required] An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that triggered the evaluation. |
TestMode |
Use this parameter to specify a test run for
When |
Value¶
A list with the following syntax:
list(
FailedEvaluations = list(
list(
ComplianceResourceType = "string",
ComplianceResourceId = "string",
ComplianceType = "COMPLIANT"|"NON_COMPLIANT"|"NOT_APPLICABLE"|"INSUFFICIENT_DATA",
Annotation = "string",
OrderingTimestamp = as.POSIXct(
"2015-01-01"
)
)
)
)
Request syntax¶
svc$put_evaluations(
Evaluations = list(
list(
ComplianceResourceType = "string",
ComplianceResourceId = "string",
ComplianceType = "COMPLIANT"|"NON_COMPLIANT"|"NOT_APPLICABLE"|"INSUFFICIENT_DATA",
Annotation = "string",
OrderingTimestamp = as.POSIXct(
"2015-01-01"
)
)
),
ResultToken = "string",
TestMode = TRUE|FALSE
)