Currently, I'm polling after a fixed interval of time for fetching configurations from AWS AppConfig using getconfiguration API of aws-sdk for javascript. But, I want to fetch configurations only if there is any change in configurations at AWS AppConfig so that I can hit rest endpoint to get the latest updated configurations from AWS AppConfig.
If there is any way to get this done, please suggest. Also, if it is not feasible then, any official documentation of AWS which describe it will also work.
As per the AWS documentation about appconfig,
You must configure your application to periodically check for and receive configuration updates by using the GetConfiguration API action. When a new or updated configuration is ready, AWS AppConfig deploys the configuration file to each target in your deployment strategy.
So, there is no way to configure a trigger in AWS which lets you know that App Config has changed. You must do it periodically.