---
title: "Amazon CloudWatch \u8A2D\u5B9A"
description: "\u4EE5\u4E0B\u306EJSON\u306F\u3001\u3053\u306E\u6A19\u6E96\u5316\u3055\u308C\u305F\u69CB\u6210\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u4F8B\u3067\u3059\u3002"
language: ja
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ja/docs/application-setting-components/amazon-cloudwatch-configuration
original: https://documentation.invantive.eu/en/docs/application-setting-components/amazon-cloudwatch-configuration
updated: 2026-12-03T18:12:44Z
license: https://documentation.invantive.eu/ja/
---

## 例
以下のJSONは、この標準化された構成コンポーネントの例です:
```json
{ "Enable": false
, "Region": "eu-central-1"
, "AccessKey": "ANACCESSKEY"
, "SecretKey": "ASECRETKEY"
, "LogGroup": "/acme/prod/requests/my-app/node"
, "LibraryLogFileNamePath": "/mnt/my-app/logs/aws-errors.txt"
}
```

## 定義
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://invantive.com/schemas/defs/CloudWatchConfig.schema.json",
  "title": "CloudWatchConfig",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "Enabled": {
      "type": "boolean",
      "description": "Whether Amazon CloudWatch logging is enabled."
    },
    "Region": {
      "type": ["string", "null"],
      "description": "AWS region."
    },
    "LibraryLogFileNamePath": {
      "type": ["string", "null"],
      "description": "File name and path to the AWS Cloudwatch log file"
    },
    "MaxQueuedMessages": {
      "type": "integer",
      "description": "Maximum number of messages queued after which the messages are flushed to AWS CloudWatch log."
    },
    "BatchSizeInBytes": {
      "type": "integer",
      "description": "Size in bytes after which the messages are flushed to AWS CloudWatch log."
    },
    "BatchPushIntervalSec": {
      "type": "integer",
      "description": "Interval in seconds after which the messages are flushed to AWS CloudWatch log."
    },
    "AccessKey": {
      "type": ["string", "null"],
      "description": "AWS access key."
    },
    "SecretKey": {
      "type": ["string", "null"],
      "description": "AWS secret key."
    },
    "LogGroup": {
      "type": ["string", "null"],
      "description": "Gets or sets the CloudWatch log group."
    }
  }
}
```
