Interface CsvProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CsvProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-24T11:33:17.246Z")
@Stability(Stable)
public interface CsvProperty
extends software.amazon.jsii.JsiiSerializable
The CSV processor parses comma-separated values (CSV) from the log events into columns.
For more information about this processor including examples, see csv in the CloudWatch Logs User Guide.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.logs.*; CsvProperty csvProperty = CsvProperty.builder() .columns(List.of("columns")) .delimiter(DelimiterCharacter.COMMA) .quoteCharacter(QuoteCharacter.DOUBLE_QUOTE) .source("source") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCsvProperty
static final class
An implementation forCsvProperty
-
Method Summary
Modifier and TypeMethodDescriptionstatic CsvProperty.Builder
builder()
An array of names to use for the columns in the transformed log event.default DelimiterCharacter
Character used to separate each column in the original comma-separated value log event.default QuoteCharacter
Character used as a text qualifier for a single column of data.default String
The path to the field in the log event that has the comma separated values to be parsed.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getColumns
An array of names to use for the columns in the transformed log event.Default: - Column names ([column_1, column_2 ...]) are used
-
getDelimiter
Character used to separate each column in the original comma-separated value log event.Default: DelimiterCharacter.COMMA
-
getQuoteCharacter
Character used as a text qualifier for a single column of data.Default: QuoteCharacter.DOUBLE_QUOTE
-
getSource
The path to the field in the log event that has the comma separated values to be parsed.Default: '@message'
-
builder
- Returns:
- a
CsvProperty.Builder
ofCsvProperty
-