Example Amazon Lambda Functions and Events for Amazon Config Rules - Amazon Config
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Example Amazon Lambda Functions and Events for Amazon Config Rules

Each Custom Lambda rule is associated with an Lambda function, which is custom code that contains the evaluation logic for the rule. When the trigger for a Config rule occurs (for example, when Amazon Config detects a configuration change), Amazon Config invokes the rule's Lambda function by publishing an event, which is a JSON object that provides the configuration data that the function evaluates.

For more information about functions and events in Amazon Lambda, see Function and Event Sources in the Amazon Lambda Developer Guide.