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 action is required in every Lambda function that is invoked by an Config rule.
Usage¶
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
put_evaluations
. You can verify whether your Lambda function will deliver evaluation results to Config. No updates occur to your existing evaluations, and evaluation results are not sent to Config.When
TestMode
istrue
,put_evaluations
doesn't require a valid value for theResultToken
parameter, but the value cannot be null.
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
)