## Example The following JSON is an example for this standardized configuration component: ```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" } ``` ## Definition ```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." } } } ```