Interface DataConverterProps

All Superinterfaces:
BaseProcessorProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DataConverterProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-24T11:33:17.247Z") @Stability(Stable) public interface DataConverterProps extends software.amazon.jsii.JsiiSerializable, BaseProcessorProps
Properties for creating data converter processors.

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.*;
 DataConverterProps dataConverterProps = DataConverterProps.builder()
         .type(DataConverterType.TYPE_CONVERTER)
         // the properties below are optional
         .dateTimeConverterOptions(DateTimeConverterProperty.builder()
                 .locale("locale")
                 .matchPatterns(List.of("matchPatterns"))
                 .source("source")
                 .target("target")
                 // the properties below are optional
                 .sourceTimezone("sourceTimezone")
                 .targetFormat("targetFormat")
                 .targetTimezone("targetTimezone")
                 .build())
         .typeConverterOptions(TypeConverterProperty.builder()
                 .entries(List.of(TypeConverterEntryProperty.builder()
                         .key("key")
                         .type(TypeConverterType.BOOLEAN)
                         .build()))
                 .build())
         .build();
 
  • Method Details

    • getType

      @Stability(Stable) @NotNull DataConverterType getType()
      The type of data conversion operation.
    • getDateTimeConverterOptions

      @Stability(Stable) @Nullable default DateTimeConverterProperty getDateTimeConverterOptions()
      Options for datetime conversion.

      Required when type is DATETIME_CONVERTER.

      Default: - No date time converter processor is created if not set

    • getTypeConverterOptions

      @Stability(Stable) @Nullable default TypeConverterProperty getTypeConverterOptions()
      Options for type conversion.

      Required when type is TYPE_CONVERTER.

      Default: - No type convertor processor is created if not set

    • builder

      @Stability(Stable) static DataConverterProps.Builder builder()
      Returns:
      a DataConverterProps.Builder of DataConverterProps