StartConfigRulesEvaluation
when you want to test that a rule you updated is working as expected. StartConfigRulesEvaluation
does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources. StartConfigRulesEvaluation
call for the specified rules must complete before you can call the API again. If you chose to have Config stream to an Amazon SNS topic, you will receive a ConfigRuleEvaluationStarted
notification when the evaluation starts.StartConfigRulesEvaluation
API is useful if you want to run on-demand evaluations, such as the following example:StartConfigRulesEvaluation
API.curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"ConfigRuleNames": []
}'
{}