

# CloudWatch configuration files, update details
<a name="auto-config-files"></a>

 We read your custom CloudWatch configurations (JSON only) from the following CloudWatch directories (see [recommended directories](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html)), and merge them with the standard AMS CloudWatch configuration: 
+ CloudWatch Files
  + On the instance:
    + Windows
      + %ProgramData%\$1Amazon\$1AmazonCloudWatchAgent\$1Configs\$1
      + %ProgramFiles%\$1WindowsPowerShell\$1Modules\$1AWSManagedServices.Logging.Utilities\$1Files\$1Config.json
    + Linux
      + /opt/aws/ams/opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json
  + On Amazon S3:
    + Windows:
      + https://ams-configuration-artifacts-*REGION\$1NAME*.s3.*REGION\$1NAME*.amazonaws.com/configurations/cloudwatch/latest/windows-cloudwatch-config.json
    + Linux:
      + https://ams-configuration-artifacts-*REGION\$1NAME*.s3.*REGION\$1NAME*.amazonaws.com/configurations/cloudwatch/latest/linux-cloudwatch-config.json