Paws::Config::PutEvaluations - Arguments for method PutEvaluations on Paws::Config


This class represents the parameters used for calling the method PutEvaluations on the AWS Config service. Use the attributes of this class as arguments to method PutEvaluations.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutEvaluations.


    my $config = Paws->service('Config');
    my $PutEvaluationsResponse = $config->PutEvaluations(
      ResultToken => 'MyString',
      Evaluations => [
          ComplianceResourceId => 'MyBaseResourceId',    # min: 1, max: 768
          ComplianceResourceType =>
            'MyStringWithCharLimit256',                  # min: 1, max: 256
          ComplianceType => 'COMPLIANT'
          OrderingTimestamp => '1970-01-01T01:00:00',
          Annotation        => 'MyStringWithCharLimit256',    # min: 1, max: 256
      ],                                                      # OPTIONAL
      TestMode => 1,                                          # OPTIONAL

    # Results:
    my $FailedEvaluations = $PutEvaluationsResponse->FailedEvaluations;

    # Returns a L<Paws::Config::PutEvaluationsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


Evaluations => ArrayRef[Paws::Config::Evaluation]

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 ResultToken => Str

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

TestMode => Bool

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.


This class forms part of Paws, documenting arguments for method PutEvaluations in Paws::Config


The source code is located here:

Please report bugs to: