Skip to content

/AWS1/CL_CFS=>STARTRESOURCEEVALUATION()

About StartResourceEvaluation

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.

Ensure you have the cloudformation:DescribeType role setup to validate the resource type schema.

You can find the Resource type schema in "Amazon Web Services public extensions" within the CloudFormation registry or with the following CLI commmand: aws cloudformation describe-type --type-name "AWS::S3::Bucket" --type RESOURCE.

For more information, see Managing extensions through the CloudFormation registry and Amazon Web Services resource and property types reference in the CloudFormation User Guide.

Method Signature

IMPORTING

Required arguments:

IO_RESOURCEDETAILS TYPE REF TO /AWS1/CL_CFSRESOURCEDETAILS /AWS1/CL_CFSRESOURCEDETAILS

Returns a ResourceDetails object.

IV_EVALUATIONMODE TYPE /AWS1/CFSEVALUATIONMODE /AWS1/CFSEVALUATIONMODE

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

Optional arguments:

IO_EVALUATIONCONTEXT TYPE REF TO /AWS1/CL_CFSEVALUATIONCONTEXT /AWS1/CL_CFSEVALUATIONCONTEXT

Returns an EvaluationContext object.

IV_EVALUATIONTIMEOUT TYPE /AWS1/CFSEVALUATIONTIMEOUT /AWS1/CFSEVALUATIONTIMEOUT

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.

IV_CLIENTTOKEN TYPE /AWS1/CFSCLIENTTOKEN /AWS1/CFSCLIENTTOKEN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CFSSTARTRESRCEVALRSP /AWS1/CL_CFSSTARTRESRCEVALRSP