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

Description Usage Arguments Value Request syntax

View source: R/configservice_operations.R

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

1
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 put_evaluations. 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, put_evaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.