CustomLayerCloudwatchConfigurationLogStreamArgs

data class CustomLayerCloudwatchConfigurationLogStreamArgs(val batchCount: Output<Int>? = null, val batchSize: Output<Int>? = null, val bufferDuration: Output<Int>? = null, val datetimeFormat: Output<String>? = null, val encoding: Output<String>? = null, val file: Output<String>, val fileFingerprintLines: Output<String>? = null, val initialPosition: Output<String>? = null, val logGroupName: Output<String>, val multilineStartPattern: Output<String>? = null, val timeZone: Output<String>? = null) : ConvertibleToJava<CustomLayerCloudwatchConfigurationLogStreamArgs>

Constructors

constructor(batchCount: Output<Int>? = null, batchSize: Output<Int>? = null, bufferDuration: Output<Int>? = null, datetimeFormat: Output<String>? = null, encoding: Output<String>? = null, file: Output<String>, fileFingerprintLines: Output<String>? = null, initialPosition: Output<String>? = null, logGroupName: Output<String>, multilineStartPattern: Output<String>? = null, timeZone: Output<String>? = null)

Properties

Link copied to clipboard
val batchCount: Output<Int>? = null

Specifies the max number of log events in a batch, up to 10000. The default value is 1000.

Link copied to clipboard
val batchSize: Output<Int>? = null

Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

Link copied to clipboard
val bufferDuration: Output<Int>? = null

Specifies the time duration for the batching of log events. The minimum value is 5000 and default value is 5000.

Link copied to clipboard
val datetimeFormat: Output<String>? = null

Specifies how the timestamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

Link copied to clipboard
val encoding: Output<String>? = null

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8.

Link copied to clipboard
val file: Output<String>

Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*).

Link copied to clipboard
val fileFingerprintLines: Output<String>? = null

Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as 1, 2-5. The default value is 1.

Link copied to clipboard
val initialPosition: Output<String>? = null

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file.

Link copied to clipboard
val logGroupName: Output<String>

Specifies the destination log group. A log group is created automatically if it doesn't already exist.

Link copied to clipboard
val multilineStartPattern: Output<String>? = null

Specifies the pattern for identifying the start of a log message.

Link copied to clipboard
val timeZone: Output<String>? = null

Specifies the time zone of log event time stamps.

Functions

Link copied to clipboard
open override fun toJava(): CustomLayerCloudwatchConfigurationLogStreamArgs