Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.
configservice_put_evaluations(Evaluations, ResultToken, TestMode)
The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
[required] An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation.
Use this parameter to specify a test run for PutEvaluations
. You can
verify whether your AWS Lambda function will deliver evaluation results
to AWS Config. No updates occur to your existing evaluations, and
evaluation results are not sent to AWS Config.
When TestMode
is true
, PutEvaluations
doesn\'t require a valid
value for the ResultToken
parameter, but the value cannot be null.
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 )