paws.management (version 0.1.0)

configservice_put_evaluations: Used by an AWS Lambda function to deliver evaluation results to AWS Config

Description

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.

Usage

configservice_put_evaluations(Evaluations, ResultToken, TestMode)

Arguments

Evaluations

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.

ResultToken

[required] An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation.

TestMode

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.

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
)