# Cofiguration validator function This Lambda function is called automatically by [AWS AppConfig](https://aws.amazon.com/systems-manager/features/appconfig/) as a [configuration validator](https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile-validators.html) when you create/update your configuration. This function will validate your configuration against the [JSON schema](./personalization_apis_config_schema.json) to ensure it's formatted correctly and syntactically accurate. If the configuration passes validation, an event will be fired to [Amazon EventBridge](https://aws.amazon.com/eventbridge/) that will trigger the execution of an [AWS Step Functions](https://aws.amazon.com/step-functions/?step-functions.sort-by=item.additionalFields.postDateTime&step-functions.sort-order=desc) [state machine](../statemachine/sync_resources.asl.json). This state machine will [synchronize cache settings](../sync_cache_settings_function/) in your configuration to CloudFront or API Gateway and [prepare item metadata datastores](../sync_dynamodb_tables_function/).