

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# CloudWatch 組態檔案、更新詳細資訊
<a name="auto-config-files"></a>

 我們從下列 CloudWatch 目錄讀取您的自訂 CloudWatch 組態 （僅限 JSON) （請參閱[建議的目錄](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html))，並將其與標準 AMS CloudWatch 組態合併： CloudWatch 
+ CloudWatch 檔案
  + 在執行個體上：
    + Windows
      + %ProgramData%\\Amazon\\AmazonCloudWatchAgent\\Configs\\
      + %ProgramFiles%\\WindowsPowerShell\\Modules\\AWSManagedServices.Logging.Utilities\\Files\\Config.json
    + Linux
      + /opt/aws/ams/opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json
  + 在 Amazon S3 上：
    + Windows：
      + https：//ams-configuration-artifacts-{{REGION\_NAME}}.s3.{{REGION\_NAME}}.amazonaws.com/configurations/cloudwatch/latest/windows-cloudwatch-config.json
    + Linux︰
      + https：//ams-configuration-artifacts-{{REGION\_NAME}}.s3.{{REGION\_NAME}}.amazonaws.com/configurations/cloudwatch/latest/linux-cloudwatch-config.json