configservice_start_resource_evaluation: Runs an on-demand evaluation for the specified resource to...

View source: R/configservice_operations.R

configservice_start_resource_evaluationR Documentation

Runs an on-demand evaluation for the specified resource to determine whether the resource details will comply with configured Config rules

Description

Runs an on-demand evaluation for the specified resource to determine whether the resource details will comply with configured Config rules. You can also use it for evaluation purposes. Config recommends using an evaluation context. It runs an execution against the resource details with all of the Config rules in your account that match with the specified proactive mode and resource type.

See https://www.paws-r-sdk.com/docs/configservice_start_resource_evaluation/ for full documentation.

Usage

configservice_start_resource_evaluation(
  ResourceDetails,
  EvaluationContext = NULL,
  EvaluationMode,
  EvaluationTimeout = NULL,
  ClientToken = NULL
)

Arguments

ResourceDetails

[required] Returns a ResourceDetails object.

EvaluationContext

Returns an EvaluationContext object.

EvaluationMode

[required] The mode of an evaluation. The valid values for this API are DETECTIVE and PROACTIVE.

EvaluationTimeout

The timeout for an evaluation. The default is 900 seconds. You cannot specify a number greater than 3600. If you specify 0, Config uses the default.

ClientToken

A client token is a unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions, specify a client token in the request.

Avoid reusing the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, other than the Region or Availability Zone, the retry fails with an IdempotentParameterMismatch error.


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.